home *** CD-ROM | disk | FTP | other *** search
MetaCard/Revolution Stack | 2002-04-05 | 678.8 KB | [RSTK/Revo] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MetaCard/Revolution Stack
(archive/metaCardStack).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MetaCard/Revolution Stack (archive/metaCardStack)
| magic
| Unsupported |
100%
| file
| POSIX shell script executable (binary data)
| default
| |
99%
| file
| a /bin/sh script executable (binary data)
| default (weak)
| |
98%
| file
| data
| default
| |
75%
| TrID
| MetaCard/Revolution stack (old)
| default
| |
25%
| TrID
| Linux/UNIX shell script
| default
| |
100%
| siegfried
| fmt/1918 MetaCard Stack (2.x)
| default
| |
100%
| binwalkID
| Executable script, shebang: "/bin/sh"
| default (weak)
| |
100%
| xdgMime
| application/x-shellscript
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [RSTK] |
macFileCreator | [Revo] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 23 21 2f 62 69 6e 2f 73 | 68 0a 23 20 4d 65 74 61 |#!/bin/s|h.# Meta|
|00000010| 43 61 72 64 20 32 2e 34 | 20 73 74 61 63 6b 0a 23 |Card 2.4| stack.#|
|00000020| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | The fol|lowing i|
|00000030| 73 20 6e 6f 74 20 41 53 | 43 49 49 20 74 65 78 74 |s not AS|CII text|
|00000040| 2c 0a 23 20 73 6f 20 6e | 6f 77 20 77 6f 75 6c 64 |,.# so n|ow would|
|00000050| 20 62 65 20 61 20 67 6f | 6f 64 20 74 69 6d 65 20 | be a go|od time |
|00000060| 74 6f 20 71 20 6f 75 74 | 20 6f 66 20 6d 6f 72 65 |to q out| of more|
|00000070| 0c 0a 65 78 65 63 20 6d | 63 20 24 30 20 22 24 40 |..exec m|c $0 "$@|
|00000080| 22 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |".......|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 01 |........|........|
|00000100| 02 00 00 03 00 00 9b 78 | 00 13 72 65 76 50 72 6f |.......x|..revPro|
|00000110| 70 65 72 74 69 65 73 53 | 68 65 6c 6c 00 02 00 80 |pertiesS|hell....|
|00000120| 02 00 71 00 04 00 00 00 | 00 00 00 00 06 42 6c 61 |..q.....|.....Bla|
|00000130| 63 6b 00 ff ff ff ff ff | ff 00 06 77 68 69 74 65 |ck......|...white|
|00000140| 00 80 80 80 80 80 80 00 | 00 a9 a9 a9 a9 a9 a9 00 |........|........|
|00000150| 09 64 61 72 6b 67 72 61 | 79 00 81 00 01 2d 00 d7 |.darkgra|y....-..|
|00000160| 01 1f 01 1c 00 00 00 09 | 0b 63 52 45 56 53 68 61 |........|.cREVSha|
|00000170| 64 65 64 00 00 00 10 63 | 52 45 56 53 74 61 63 6b |ded....c|REVStack|
|00000180| 4f 66 66 73 65 74 00 00 | 00 10 63 52 45 56 43 75 |Offset..|..cREVCu|
|00000190| 72 72 65 6e 74 54 61 62 | 73 00 00 00 1e 63 52 45 |rrentTab|s....cRE|
|000001a0| 56 48 61 76 65 54 6f 52 | 65 73 69 7a 65 54 6f 46 |VHaveToR|esizeToF|
|000001b0| 69 74 69 6e 57 69 6e 64 | 6f 77 00 00 05 66 61 6c |itinWind|ow...fal|
|000001c0| 73 65 0f 63 52 45 56 47 | 65 74 73 55 70 64 61 74 |se.cREVG|etsUpdat|
|000001d0| 65 00 00 05 66 61 6c 73 | 65 0f 63 52 45 56 45 6d |e...fals|e.cREVEm|
|000001e0| 70 74 79 53 68 65 6c 6c | 00 00 00 0c 63 52 45 56 |ptyShell|....cREV|
|000001f0| 4c 61 73 74 54 61 62 00 | 00 08 72 65 76 62 61 73 |LastTab.|..revbas|
|00000200| 69 63 0e 63 52 45 56 4f | 66 66 73 65 74 54 61 62 |ic.cREVO|ffsetTab|
|00000210| 00 00 00 0b 63 52 45 56 | 4c 69 6e 6b 65 64 00 00 |....cREV|Linked..|
|00000220| 00 00 01 33 6b 6c 6f 63 | 61 6c 20 20 6c 53 65 6c |...3kloc|al lSel|
|00000230| 65 63 74 65 64 4f 62 6a | 65 63 74 2c 20 6c 43 6c |ectedObj|ect, lCl|
|00000240| 6f 73 69 6e 67 53 74 61 | 63 6b 2c 20 6c 44 65 6c |osingSta|ck, lDel|
|00000250| 65 74 65 4f 62 6a 65 63 | 74 4e 61 6d 65 2c 20 6c |eteObjec|tName, l|
|00000260| 44 65 6c 65 74 65 50 61 | 6c 65 74 74 65 4e 61 6d |DeletePa|letteNam|
|00000270| 65 2c 20 6c 49 6e 69 74 | 4d 61 72 71 75 69 2c 20 |e, lInit|Marqui, |
|00000280| 6c 4c 6f 61 64 43 6f 75 | 6e 74 0a 0a 6f 6e 20 52 |lLoadCou|nt..on R|
|00000290| 45 56 53 68 6f 77 53 74 | 61 63 6b 20 74 53 74 61 |EVShowSt|ack tSta|
|000002a0| 63 6b 0a 20 20 2d 2d 73 | 68 6f 77 20 64 72 61 67 |ck. --s|how drag|
|000002b0| 20 70 61 6c 65 74 74 65 | 20 69 66 20 69 74 20 68 | palette| if it h|
|000002c0| 61 73 20 6e 6f 74 20 62 | 65 65 6e 20 64 72 6f 70 |as not b|een drop|
|000002d0| 70 65 64 20 77 69 74 68 | 69 6e 20 63 72 69 74 69 |ped with|in criti|
|000002e0| 63 61 6c 20 61 72 65 61 | 0a 20 20 2d 2d 6f 72 20 |cal area|. --or |
|000002f0| 73 68 6f 77 20 73 74 61 | 63 6b 20 61 66 74 65 72 |show sta|ck after|
|00000300| 20 73 6c 69 67 68 74 20 | 64 65 6c 61 79 20 77 68 | slight |delay wh|
|00000310| 65 6e 20 62 75 69 6c 64 | 69 6e 67 20 74 6f 20 65 |en build|ing to e|
|00000320| 6e 73 75 72 65 20 6e 6f | 20 66 6c 69 63 6b 65 72 |nsure no| flicker|
|00000330| 0a 20 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |. if th|ere is a|
|00000340| 20 73 74 61 63 6b 20 74 | 53 74 61 63 6b 20 74 68 | stack t|Stack th|
|00000350| 65 6e 20 73 68 6f 77 20 | 73 74 61 63 6b 20 74 53 |en show |stack tS|
|00000360| 74 61 63 6b 0a 65 6e 64 | 20 52 45 56 53 68 6f 77 |tack.end| REVShow|
|00000370| 53 74 61 63 6b 0a 0a 6f | 6e 20 52 45 56 47 6f 20 |Stack..o|n REVGo |
|00000380| 74 53 74 61 63 6b 0a 20 | 20 2d 2d 6c 61 79 65 72 |tStack. | --layer|
|00000390| 20 70 61 6c 65 74 74 65 | 73 20 63 6f 72 72 65 63 | palette|s correc|
|000003a0| 74 6c 79 20 61 66 74 65 | 72 20 64 72 61 67 20 64 |tly afte|r drag d|
|000003b0| 72 6f 70 0a 20 20 67 6f | 20 73 74 61 63 6b 20 74 |rop. go| stack t|
|000003c0| 53 74 61 63 6b 0a 65 6e | 64 20 52 45 56 47 6f 0a |Stack.en|d REVGo.|
|000003d0| 0a 6f 6e 20 70 72 65 4f | 70 65 6e 43 61 72 64 0a |.on preO|penCard.|
|000003e0| 20 20 67 6c 6f 62 61 6c | 20 67 52 45 56 44 6f 6e | global| gREVDon|
|000003f0| 74 52 65 73 69 7a 65 2c | 20 67 52 45 56 54 61 62 |tResize,| gREVTab|
|00000400| 50 6c 61 74 66 6f 72 6d | 2c 20 67 52 45 56 4f 62 |Platform|, gREVOb|
|00000410| 6a 65 63 74 50 61 6c 65 | 74 74 65 2c 20 67 52 45 |jectPale|tte, gRE|
|00000420| 56 42 75 69 6c 64 69 6e | 67 50 61 6c 65 74 74 65 |VBuildin|gPalette|
|00000430| 45 78 65 6d 70 74 69 6f | 6e 0a 20 20 63 6f 6e 73 |Exemptio|n. cons|
|00000440| 74 61 6e 74 20 6b 4f 62 | 6a 65 63 74 54 79 70 65 |tant kOb|jectType|
|00000450| 73 3d 22 62 75 74 74 6f | 6e 2c 66 69 65 6c 64 2c |s="butto|n,field,|
|00000460| 67 72 61 70 68 69 63 2c | 67 72 6f 75 70 2c 73 63 |graphic,|group,sc|
|00000470| 72 6f 6c 6c 62 61 72 2c | 69 6d 61 67 65 2c 70 6c |rollbar,|image,pl|
|00000480| 61 79 65 72 2c 65 70 73 | 22 0a 20 20 6c 6f 63 6b |ayer,eps|". lock|
|00000490| 20 73 63 72 65 65 6e 0a | 20 20 2d 2d 72 65 6d 6f | screen.| --remo|
|000004a0| 76 65 64 20 74 6f 20 62 | 61 6c 61 6e 63 65 20 6c |ved to b|alance l|
|000004b0| 6f 63 6b 20 73 63 72 65 | 65 6e 73 0a 20 20 6c 6f |ock scre|ens. lo|
|000004c0| 63 6b 20 6d 65 73 73 61 | 67 65 73 0a 0a 20 20 69 |ck messa|ges.. i|
|000004d0| 66 20 67 52 45 56 42 75 | 69 6c 64 69 6e 67 50 61 |f gREVBu|ildingPa|
|000004e0| 6c 65 74 74 65 45 78 65 | 6d 70 74 69 6f 6e 20 74 |letteExe|mption t|
|000004f0| 68 65 6e 20 65 78 69 74 | 20 70 72 65 4f 70 65 6e |hen exit| preOpen|
|00000500| 43 61 72 64 2d 2d 64 6f | 6e 27 74 20 65 78 65 63 |Card--do|n't exec|
|00000510| 75 74 65 20 77 68 65 6e | 20 63 61 6c 6c 65 64 20 |ute when| called |
|00000520| 66 72 6f 6d 20 52 45 56 | 42 75 69 6c 64 50 72 6f |from REV|BuildPro|
|00000530| 70 65 72 74 79 50 61 6c | 65 74 74 65 0a 20 20 69 |pertyPal|ette. i|
|00000540| 66 20 67 52 45 56 44 6f | 6e 74 52 65 73 69 7a 65 |f gREVDo|ntResize|
|00000550| 20 74 68 65 6e 20 70 61 | 73 73 20 70 72 65 4f 70 | then pa|ss preOp|
|00000560| 65 6e 43 61 72 64 0a 0a | 20 20 70 75 74 20 74 68 |enCard..| put th|
|00000570| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00000580| 74 68 69 73 20 63 61 72 | 64 20 69 6e 74 6f 20 74 |this car|d into t|
|00000590| 43 61 72 64 0a 20 20 70 | 75 74 20 74 68 65 20 73 |Card. p|ut the s|
|000005a0| 65 6c 6f 62 6a 20 69 6e | 74 6f 20 74 53 65 6c 65 |elobj in|to tSele|
|000005b0| 63 74 65 64 4f 62 6a 65 | 63 74 0a 20 20 2d 2d 6e |ctedObje|ct. --n|
|000005c0| 65 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |eed to c|hange th|
|000005d0| 65 20 6c 61 79 65 72 20 | 6f 66 20 74 61 62 73 20 |e layer |of tabs |
|000005e0| 73 6f 20 74 68 61 74 20 | 74 68 65 79 20 61 72 65 |so that |they are|
|000005f0| 20 63 6f 6e 73 69 73 74 | 65 6e 74 20 62 65 74 77 | consist|ent betw|
|00000600| 65 65 6e 20 63 61 72 64 | 73 0a 20 20 70 75 74 20 |een card|s. put |
|00000610| 74 68 65 20 63 52 45 56 | 43 75 72 72 65 6e 74 54 |the cREV|CurrentT|
|00000620| 61 62 73 20 6f 66 20 6d | 65 20 69 6e 74 6f 20 74 |abs of m|e into t|
|00000630| 43 75 72 72 65 6e 74 54 | 61 62 73 0a 20 20 69 66 |CurrentT|abs. if|
|00000640| 20 74 43 61 72 64 20 69 | 73 20 6e 6f 74 20 22 45 | tCard i|s not "E|
|00000650| 6d 70 74 79 20 53 65 6c | 65 63 74 69 6f 6e 22 20 |mpty Sel|ection" |
|00000660| 74 68 65 6e 0a 20 20 20 | 20 70 75 74 20 74 68 65 |then. | put the|
|00000670| 20 63 52 45 56 4c 61 73 | 74 54 61 62 20 6f 66 20 | cREVLas|tTab of |
|00000680| 6d 65 20 69 6e 74 6f 20 | 74 4c 61 73 74 54 61 62 |me into |tLastTab|
|00000690| 0a 20 20 20 20 69 66 20 | 74 68 65 72 65 20 69 73 |. if |there is|
|000006a0| 20 6e 6f 74 20 61 20 63 | 64 20 74 4c 61 73 74 54 | not a c|d tLastT|
|000006b0| 61 62 20 74 68 65 6e 0a | 20 20 20 20 20 20 2d 2d |ab then.| --|
|000006c0| 6f 62 6a 65 63 74 20 73 | 70 65 63 69 66 69 63 20 |object s|pecific |
|000006d0| 63 64 20 62 65 65 6e 20 | 64 65 6c 65 74 65 64 0a |cd been |deleted.|
|000006e0| 20 20 20 20 20 20 69 66 | 20 74 68 65 20 73 68 6f | if| the sho|
|000006f0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00000700| 73 74 61 63 6b 20 69 73 | 20 67 52 45 56 4f 62 6a |stack is| gREVObj|
|00000710| 65 63 74 50 61 6c 65 74 | 74 65 20 61 6e 64 20 74 |ectPalet|te and t|
|00000720| 68 65 20 6e 75 6d 20 6f | 66 20 6c 69 6e 65 73 20 |he num o|f lines |
|00000730| 69 6e 20 28 74 68 65 20 | 73 65 6c 6f 62 6a 29 20 |in (the |selobj) |
|00000740| 69 73 20 31 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |is 1 the|n. |
|00000750| 20 20 69 66 20 77 6f 72 | 64 20 31 20 6f 66 20 74 | if wor|d 1 of t|
|00000760| 53 65 6c 65 63 74 65 64 | 4f 62 6a 65 63 74 20 69 |Selected|Object i|
|00000770| 73 20 22 74 68 65 22 20 | 74 68 65 6e 0a 20 20 20 |s "the" |then. |
|00000780| 20 20 20 20 20 20 20 70 | 75 74 20 22 52 65 76 22 | p|ut "Rev"|
|00000790| 20 26 20 63 68 61 72 20 | 39 20 74 6f 20 2d 31 20 | & char |9 to -1 |
|000007a0| 6f 66 20 77 6f 72 64 20 | 32 20 6f 66 20 74 53 65 |of word |2 of tSe|
|000007b0| 6c 65 63 74 65 64 4f 62 | 6a 65 63 74 20 69 6e 74 |lectedOb|ject int|
|000007c0| 6f 20 74 4c 61 73 74 54 | 61 62 20 2d 2d 74 65 6d |o tLastT|ab --tem|
|000007d0| 70 6c 61 74 65 4f 62 6a | 65 63 74 20 73 65 6c 65 |plateObj|ect sele|
|000007e0| 63 74 65 64 0a 20 20 20 | 20 20 20 20 20 65 6c 73 |cted. | els|
|000007f0| 65 0a 20 20 20 20 20 20 | 20 20 20 20 69 66 20 74 |e. | if t|
|00000800| 68 65 20 68 63 41 64 64 | 72 65 73 73 69 6e 67 20 |he hcAdd|ressing |
|00000810| 6f 66 20 73 74 61 63 6b | 20 72 65 76 54 61 72 67 |of stack| revTarg|
|00000820| 65 74 53 74 61 63 6b 28 | 6c 69 6e 65 20 31 20 6f |etStack(|line 1 o|
|00000830| 66 20 74 53 65 6c 65 63 | 74 65 64 4f 62 6a 65 63 |f tSelec|tedObjec|
|00000840| 74 29 20 61 6e 64 20 77 | 6f 72 64 20 32 20 6f 66 |t) and w|ord 2 of|
|00000850| 20 74 53 65 6c 65 63 74 | 65 64 4f 62 6a 65 63 74 | tSelect|edObject|
|00000860| 20 69 73 20 61 6d 6f 6e | 67 20 74 68 65 20 69 74 | is amon|g the it|
|00000870| 65 6d 73 20 6f 66 20 6b | 4f 62 6a 65 63 74 54 79 |ems of k|ObjectTy|
|00000880| 70 65 73 0a 20 20 20 20 | 20 20 20 20 20 20 74 68 |pes. | th|
|00000890| 65 6e 20 70 75 74 20 22 | 52 45 56 22 20 26 20 77 |en put "|REV" & w|
|000008a0| 6f 72 64 20 32 20 6f 66 | 20 74 53 65 6c 65 63 74 |ord 2 of| tSelect|
|000008b0| 65 64 4f 62 6a 65 63 74 | 20 69 6e 74 6f 20 74 4c |edObject| into tL|
|000008c0| 61 73 74 54 61 62 0a 20 | 20 20 20 20 20 20 20 20 |astTab. | |
|000008d0| 20 65 6c 73 65 20 70 75 | 74 20 22 52 45 56 22 20 | else pu|t "REV" |
|000008e0| 26 20 77 6f 72 64 20 31 | 20 6f 66 20 74 53 65 6c |& word 1| of tSel|
|000008f0| 65 63 74 65 64 4f 62 6a | 65 63 74 20 69 6e 74 6f |ectedObj|ect into|
|00000900| 20 74 4c 61 73 74 54 61 | 62 0a 20 20 20 20 20 20 | tLastTa|b. |
|00000910| 20 20 65 6e 64 20 69 66 | 0a 20 20 20 20 20 20 20 | end if|. |
|00000920| 20 2d 2d 75 73 65 20 74 | 68 65 20 72 65 70 6c 61 | --use t|he repla|
|00000930| 63 65 6d 65 6e 74 20 6f | 62 6a 65 63 74 20 74 61 |cement o|bject ta|
|00000940| 62 20 69 66 20 74 68 65 | 72 65 20 69 73 20 6f 6e |b if the|re is on|
|00000950| 65 0a 20 20 20 20 20 20 | 65 6c 73 65 20 70 75 74 |e. |else put|
|00000960| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 43 75 72 72 | item 1 |of tCurr|
|00000970| 65 6e 74 54 61 62 73 20 | 69 6e 74 6f 20 74 4c 61 |entTabs |into tLa|
|00000980| 73 74 54 61 62 0a 20 20 | 20 20 65 6e 64 20 69 66 |stTab. | end if|
|00000990| 0a 20 20 20 20 72 65 70 | 6c 61 63 65 20 22 62 6b |. rep|lace "bk|
|000009a0| 67 6e 64 22 20 77 69 74 | 68 20 22 67 72 6f 75 70 |gnd" wit|h "group|
|000009b0| 22 20 69 6e 20 74 4c 61 | 73 74 54 61 62 0a 20 20 |" in tLa|stTab. |
|000009c0| 20 20 73 65 74 20 74 68 | 65 20 63 52 45 56 4c 61 | set th|e cREVLa|
|000009d0| 73 74 54 61 62 20 6f 66 | 20 6d 65 20 74 6f 20 74 |stTab of| me to t|
|000009e0| 43 61 72 64 0a 0a 20 20 | 20 20 72 65 70 65 61 74 |Card.. | repeat|
|000009f0| 20 66 6f 72 20 65 61 63 | 68 20 69 74 65 6d 20 69 | for eac|h item i|
|00000a00| 20 69 6e 20 74 43 75 72 | 72 65 6e 74 54 61 62 73 | in tCur|rentTabs|
|00000a10| 0a 20 20 20 20 20 20 70 | 75 74 20 74 68 65 20 6c |. p|ut the l|
|00000a20| 61 79 65 72 20 6f 66 20 | 67 72 70 20 69 20 6f 66 |ayer of |grp i of|
|00000a30| 20 63 61 72 64 20 74 4c | 61 73 74 54 61 62 20 69 | card tL|astTab i|
|00000a40| 6e 74 6f 20 74 4c 61 73 | 74 4c 61 79 65 72 0a 20 |nto tLas|tLayer. |
|00000a50| 20 20 20 20 20 70 75 74 | 20 69 20 69 6e 74 6f 20 | put| i into |
|00000a60| 74 47 72 6f 75 70 5b 74 | 4c 61 73 74 4c 61 79 65 |tGroup[t|LastLaye|
|00000a70| 72 5d 0a 20 20 20 20 20 | 20 70 75 74 20 74 4c 61 |r]. | put tLa|
|00000a80| 73 74 4c 61 79 65 72 20 | 26 20 63 72 20 61 66 74 |stLayer |& cr aft|
|00000a90| 65 72 20 74 4c 61 79 65 | 72 73 4c 69 73 74 0a 20 |er tLaye|rsList. |
|00000aa0| 20 20 20 65 6e 64 20 72 | 65 70 65 61 74 0a 20 20 | end r|epeat. |
|00000ab0| 20 20 64 65 6c 65 74 65 | 20 6c 61 73 74 20 63 68 | delete| last ch|
|00000ac0| 61 72 20 6f 66 20 74 4c | 61 79 65 72 73 4c 69 73 |ar of tL|ayersLis|
|00000ad0| 74 0a 0a 20 20 20 20 73 | 6f 72 74 20 6c 69 6e 65 |t.. s|ort line|
|00000ae0| 73 20 6f 66 20 74 4c 61 | 79 65 72 73 4c 69 73 74 |s of tLa|yersList|
|00000af0| 20 6e 75 6d 65 72 69 63 | 0a 20 20 20 20 2d 2d 73 | numeric|. --s|
|00000b00| 65 74 20 74 68 65 20 6c | 61 79 65 72 20 6f 66 20 |et the l|ayer of |
|00000b10| 74 68 65 20 74 61 62 20 | 67 72 6f 75 70 73 20 74 |the tab |groups t|
|00000b20| 6f 20 62 65 20 69 6e 20 | 74 68 65 20 73 61 6d 65 |o be in |the same|
|00000b30| 20 6f 72 64 65 72 20 61 | 73 20 69 6e 20 74 68 65 | order a|s in the|
|00000b40| 20 6c 61 73 74 20 63 61 | 72 64 0a 20 20 20 20 72 | last ca|rd. r|
|00000b50| 65 70 65 61 74 20 66 6f | 72 20 65 61 63 68 20 6c |epeat fo|r each l|
|00000b60| 69 6e 65 20 6c 20 69 6e | 20 74 4c 61 79 65 72 73 |ine l in| tLayers|
|00000b70| 4c 69 73 74 0a 20 20 20 | 20 20 20 73 65 74 20 74 |List. | set t|
|00000b80| 68 65 20 6c 61 79 65 72 | 20 6f 66 20 67 72 70 20 |he layer| of grp |
|00000b90| 74 47 72 6f 75 70 5b 6c | 5d 20 6f 66 20 74 68 69 |tGroup[l|] of thi|
|00000ba0| 73 20 63 61 72 64 20 74 | 6f 20 22 74 6f 70 22 0a |s card t|o "top".|
|00000bb0| 20 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 | end |repeat. |
|00000bc0| 20 20 20 2d 2d 64 65 61 | 6c 20 77 69 74 68 20 74 | --dea|l with t|
|00000bd0| 68 65 20 63 75 72 72 65 | 6e 74 20 74 61 62 0a 20 |he curre|nt tab. |
|00000be0| 20 20 20 73 65 74 20 74 | 68 65 20 6c 61 79 65 72 | set t|he layer|
|00000bf0| 20 6f 66 20 67 72 6f 75 | 70 20 74 43 61 72 64 20 | of grou|p tCard |
|00000c00| 74 6f 20 74 68 65 20 6e | 75 6d 20 6f 66 20 63 6f |to the n|um of co|
|00000c10| 6e 74 72 6f 6c 73 0a 20 | 20 20 20 2d 2d 64 65 61 |ntrols. | --dea|
|00000c20| 6c 20 77 69 74 68 20 73 | 70 6c 69 74 20 74 61 62 |l with s|plit tab|
|00000c30| 20 63 61 72 64 73 0a 20 | 20 20 20 73 77 69 74 63 | cards. | switc|
|00000c40| 68 0a 20 20 20 20 63 61 | 73 65 20 74 43 61 72 64 |h. ca|se tCard|
|00000c50| 20 69 73 20 6e 6f 74 20 | 69 6e 20 22 52 45 56 42 | is not |in "REVB|
|00000c60| 75 74 74 6f 6e 2c 52 45 | 56 46 69 65 6c 64 2c 20 |utton,RE|VField, |
|00000c70| 52 45 56 53 74 61 63 6b | 22 0a 20 20 20 20 63 61 |REVStack|". ca|
|00000c80| 73 65 20 74 68 65 20 63 | 52 45 56 57 68 69 63 68 |se the c|REVWhich|
|00000c90| 54 61 62 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |Tab of t|his cd i|
|00000ca0| 73 20 65 6d 70 74 79 0a | 20 20 20 20 63 61 73 65 |s empty.| case|
|00000cb0| 20 74 68 65 20 63 52 45 | 56 57 68 69 63 68 54 61 | the cRE|VWhichTa|
|00000cc0| 62 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 73 20 |b of thi|s cd is |
|00000cd0| 22 66 69 72 73 74 22 0a | 20 20 20 20 20 20 73 65 |"first".| se|
|00000ce0| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 74 |t the ic|on of bt|
|00000cf0| 6e 20 74 43 61 72 64 20 | 74 6f 20 74 68 65 20 63 |n tCard |to the c|
|00000d00| 52 45 56 48 69 6c 69 74 | 65 49 63 6f 6e 5b 67 52 |REVHilit|eIcon[gR|
|00000d10| 45 56 54 61 62 50 6c 61 | 74 66 6f 72 6d 5d 20 6f |EVTabPla|tform] o|
|00000d20| 66 20 62 74 6e 20 74 43 | 61 72 64 0a 20 20 20 20 |f btn tC|ard. |
|00000d30| 20 20 62 72 65 61 6b 0a | 20 20 20 20 63 61 73 65 | break.| case|
|00000d40| 20 74 68 65 20 63 52 45 | 56 57 68 69 63 68 54 61 | the cRE|VWhichTa|
|00000d50| 62 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 73 20 |b of thi|s cd is |
|00000d60| 22 73 65 63 6f 6e 64 22 | 0a 20 20 20 20 20 20 73 |"second"|. s|
|00000d70| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |et the i|con of b|
|00000d80| 74 6e 20 74 43 61 72 64 | 20 74 6f 20 74 68 65 20 |tn tCard| to the |
|00000d90| 63 52 45 56 48 69 6c 69 | 74 65 49 63 6f 6e 32 5b |cREVHili|teIcon2[|
|00000da0| 67 52 45 56 54 61 62 50 | 6c 61 74 66 6f 72 6d 5d |gREVTabP|latform]|
|00000db0| 20 6f 66 20 62 74 6e 20 | 74 43 61 72 64 0a 20 20 | of btn |tCard. |
|00000dc0| 20 20 20 20 62 72 65 61 | 6b 0a 20 20 20 20 65 6e | brea|k. en|
|00000dd0| 64 20 73 77 69 74 63 68 | 0a 20 20 65 6e 64 20 69 |d switch|. end i|
|00000de0| 66 0a 0a 20 20 69 66 20 | 77 6f 72 64 20 31 20 6f |f.. if |word 1 o|
|00000df0| 66 20 28 74 68 65 20 73 | 65 6c 6f 62 6a 29 20 69 |f (the s|elobj) i|
|00000e00| 73 20 6e 6f 74 20 22 74 | 68 65 22 20 74 68 65 6e |s not "t|he" then|
|00000e10| 20 2d 2d 20 74 65 6d 70 | 6c 61 74 65 20 6f 62 6a | -- temp|late obj|
|00000e20| 65 63 74 20 6e 6f 74 20 | 73 65 6c 65 63 74 65 64 |ect not |selected|
|00000e30| 0a 20 20 20 20 69 66 20 | 74 43 61 72 64 20 69 73 |. if |tCard is|
|00000e40| 20 69 6e 20 22 52 45 56 | 53 63 72 69 70 74 2c 52 | in "REV|Script,R|
|00000e50| 45 56 43 75 73 74 6f 6d | 22 20 74 68 65 6e 20 70 |EVCustom|" then p|
|00000e60| 75 74 20 22 41 6c 6c 20 | 50 72 6f 66 69 6c 65 73 |ut "All |Profiles|
|00000e70| 22 20 69 6e 74 6f 20 66 | 6c 64 20 22 50 72 6f 66 |" into f|ld "Prof|
|00000e80| 69 6c 65 22 20 6f 66 20 | 62 67 20 22 72 65 76 42 |ile" of |bg "revB|
|00000e90| 61 63 6b 64 72 6f 70 22 | 0a 20 20 20 20 65 6c 73 |ackdrop"|. els|
|00000ea0| 65 20 69 66 20 74 43 61 | 72 64 20 69 73 20 6e 6f |e if tCa|rd is no|
|00000eb0| 74 20 22 45 6d 70 74 79 | 20 53 65 6c 65 63 74 69 |t "Empty| Selecti|
|00000ec0| 6f 6e 22 20 74 68 65 6e | 0a 20 20 20 20 20 20 69 |on" then|. i|
|00000ed0| 66 20 74 68 65 20 63 52 | 45 56 4c 69 6e 6b 65 64 |f the cR|EVLinked|
|00000ee0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00000ef0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0a 20 20 20 |s empty |then. |
|00000f00| 20 20 20 20 20 70 75 74 | 20 52 45 56 52 65 74 75 | put| REVRetu|
|00000f10| 72 6e 43 75 72 72 65 6e | 74 50 72 6f 66 69 6c 65 |rnCurren|tProfile|
|00000f20| 28 29 20 69 6e 74 6f 20 | 74 50 72 6f 66 69 6c 65 |() into |tProfile|
|00000f30| 0a 20 20 20 20 20 20 65 | 6c 73 65 0a 20 20 20 20 |. e|lse. |
|00000f40| 20 20 20 20 2d 2d 63 75 | 72 72 65 6e 74 20 70 72 | --cu|rrent pr|
|00000f50| 6f 66 69 6c 65 73 20 6f | 66 20 6c 69 6e 6b 65 64 |ofiles o|f linked|
|00000f60| 20 6f 62 6a 65 63 74 73 | 20 68 65 72 65 0a 20 20 | objects| here. |
|00000f70| 20 20 20 20 20 20 70 75 | 74 20 52 45 56 52 65 74 | pu|t REVRet|
|00000f80| 75 72 6e 43 75 72 72 65 | 6e 74 50 72 6f 66 69 6c |urnCurre|ntProfil|
|00000f90| 65 28 74 68 65 20 63 52 | 45 56 4c 69 6e 6b 65 64 |e(the cR|EVLinked|
|00000fa0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 29 20 | of this| stack) |
|00000fb0| 69 6e 74 6f 20 74 50 72 | 6f 66 69 6c 65 0a 20 20 |into tPr|ofile. |
|00000fc0| 20 20 20 20 65 6e 64 20 | 69 66 0a 20 20 20 20 20 | end |if. |
|00000fd0| 20 69 66 20 74 50 72 6f | 66 69 6c 65 20 69 73 20 | if tPro|file is |
|00000fe0| 73 70 61 63 65 20 74 68 | 65 6e 20 70 75 74 20 22 |space th|en put "|
|00000ff0| 4d 75 6c 74 69 70 6c 65 | 20 50 72 6f 66 69 6c 65 |Multiple| Profile|
|00001000| 73 22 20 69 6e 74 6f 20 | 66 6c 64 20 22 50 72 6f |s" into |fld "Pro|
|00001010| 66 69 6c 65 22 20 6f 66 | 20 62 67 20 22 72 65 76 |file" of| bg "rev|
|00001020| 42 61 63 6b 64 72 6f 70 | 22 0a 20 20 20 20 20 20 |Backdrop|". |
|00001030| 65 6c 73 65 20 70 75 74 | 20 22 50 72 6f 66 69 6c |else put| "Profil|
|00001040| 65 3a 22 20 26 26 20 74 | 50 72 6f 66 69 6c 65 20 |e:" && t|Profile |
|00001050| 69 6e 74 6f 20 66 6c 64 | 20 22 50 72 6f 66 69 6c |into fld| "Profil|
|00001060| 65 22 20 6f 66 20 62 67 | 20 22 72 65 76 42 61 63 |e" of bg| "revBac|
|00001070| 6b 64 72 6f 70 22 0a 20 | 20 20 20 65 6e 64 20 69 |kdrop". | end i|
|00001080| 66 0a 20 20 65 6e 64 20 | 69 66 0a 0a 20 20 52 45 |f. end |if.. RE|
|00001090| 56 53 65 74 52 65 63 74 | 0a 20 20 72 65 76 50 6f |VSetRect|. revPo|
|000010a0| 73 69 74 69 6f 6e 54 61 | 62 73 0a 20 20 75 6e 6c |sitionTa|bs. unl|
|000010b0| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0a 20 20 75 |ock mess|ages. u|
|000010c0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0a 20 20 2d |nlock sc|reen. -|
|000010d0| 2d 70 61 73 73 20 70 72 | 65 4f 70 65 6e 43 61 72 |-pass pr|eOpenCar|
|000010e0| 64 0a 65 6e 64 20 70 72 | 65 4f 70 65 6e 43 61 72 |d.end pr|eOpenCar|
|000010f0| 64 0a 0a 0a 6f 6e 20 52 | 45 56 53 65 74 52 65 63 |d...on R|EVSetRec|
|00001100| 74 0a 20 20 2d 2d 73 65 | 74 20 74 68 65 20 72 65 |t. --se|t the re|
|00001110| 63 74 20 6f 66 20 74 68 | 65 20 73 74 61 63 6b 20 |ct of th|e stack |
|00001120| 77 68 65 6e 20 6d 6f 76 | 69 6e 67 20 74 6f 20 61 |when mov|ing to a|
|00001130| 20 6e 65 77 20 74 61 62 | 0a 20 20 70 75 74 20 69 | new tab|. put i|
|00001140| 74 65 6d 20 33 20 6f 66 | 20 74 68 65 20 72 65 63 |tem 3 of| the rec|
|00001150| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |t of thi|s stack |
|00001160| 2d 20 74 68 65 20 77 69 | 64 74 68 20 6f 66 20 74 |- the wi|dth of t|
|00001170| 68 69 73 20 73 74 61 63 | 6b 20 2b 20 74 68 65 20 |his stac|k + the |
|00001180| 63 52 45 56 43 61 72 64 | 57 69 64 74 68 20 6f 66 |cREVCard|Width of|
|00001190| 20 74 68 69 73 20 63 64 | 20 69 6e 74 6f 20 74 52 | this cd| into tR|
|000011a0| 69 67 68 74 0a 20 20 73 | 77 69 74 63 68 0a 20 20 |ight. s|witch. |
|000011b0| 63 61 73 65 20 74 68 65 | 20 73 68 6f 72 74 20 6e |case the| short n|
|000011c0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 20 69 |ame of t|his cd i|
|000011d0| 73 20 69 6e 20 22 52 45 | 56 43 75 73 74 6f 6d 2c |s in "RE|VCustom,|
|000011e0| 52 45 56 53 63 72 69 70 | 74 22 20 61 6e 64 20 74 |REVScrip|t" and t|
|000011f0| 68 65 20 63 52 45 56 53 | 74 61 63 6b 4f 66 66 73 |he cREVS|tackOffs|
|00001200| 65 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |et of th|is stack|
|00001210| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 0a 20 20 | is not |empty. |
|00001220| 20 20 70 75 74 20 74 68 | 65 20 63 52 45 56 43 61 | put th|e cREVCa|
|00001230| 72 64 57 69 64 74 68 20 | 6f 66 20 74 68 69 73 20 |rdWidth |of this |
|00001240| 63 64 20 2d 20 74 68 65 | 20 77 69 64 74 68 20 6f |cd - the| width o|
|00001250| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00001260| 6f 20 74 4d 6f 76 65 4c | 65 66 74 0a 20 20 20 20 |o tMoveL|eft. |
|00001270| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|00001280| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 72 65 |this sta|ck to re|
|00001290| 76 4e 65 77 50 72 6f 70 | 65 72 74 79 50 61 6c 65 |vNewProp|ertyPale|
|000012a0| 74 74 65 52 65 63 74 28 | 74 68 65 20 6c 65 66 74 |tteRect(|the left|
|000012b0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 2d | of this| stack -|
|000012c0| 20 74 4d 6f 76 65 4c 65 | 66 74 2c 20 74 68 65 20 | tMoveLe|ft, the |
|000012d0| 74 6f 70 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |top of t|his stac|
|000012e0| 6b 2c 20 74 68 65 20 72 | 69 67 68 74 20 6f 66 20 |k, the r|ight of |
|000012f0| 74 68 69 73 20 73 74 61 | 63 6b 2c 20 74 68 65 20 |this sta|ck, the |
|00001300| 74 6f 70 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |top of t|his stac|
|00001310| 6b 20 2b 20 74 68 65 20 | 63 52 45 56 43 61 72 64 |k + the |cREVCard|
|00001320| 48 65 69 67 68 74 20 6f | 66 20 74 68 69 73 20 63 |Height o|f this c|
|00001330| 64 29 0a 20 20 20 20 2d | 2d 73 65 74 20 74 68 65 |d). -|-set the|
|00001340| 20 72 65 63 74 20 6f 66 | 20 74 68 69 73 20 73 74 | rect of| this st|
|00001350| 61 63 6b 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |ack to i|tem 1 of|
|00001360| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 69 | the rec|t of thi|
|00001370| 73 20 73 74 61 63 6b 20 | 2d 20 74 4d 6f 76 65 4c |s stack |- tMoveL|
|00001380| 65 66 74 2c 20 69 74 65 | 6d 20 32 20 6f 66 20 74 |eft, ite|m 2 of t|
|00001390| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 69 73 20 |he rect |of this |
|000013a0| 73 74 61 63 6b 2c 20 20 | 69 74 65 6d 20 33 20 6f |stack, |item 3 o|
|000013b0| 66 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 74 68 |f the re|ct of th|
|000013c0| 69 73 20 73 74 61 63 6b | 2c 20 69 74 65 6d 20 34 |is stack|, item 4|
|000013d0| 20 6f 66 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 | of the |rect of |
|000013e0| 74 68 69 73 20 73 74 61 | 63 6b 20 2d 20 74 68 65 |this sta|ck - the|
|000013f0| 20 68 65 69 67 68 74 20 | 6f 66 20 74 68 69 73 20 | height |of this |
|00001400| 73 74 61 63 6b 20 2b 20 | 74 68 65 20 63 52 45 56 |stack + |the cREV|
|00001410| 43 61 72 64 48 65 69 67 | 68 74 20 6f 66 20 74 68 |CardHeig|ht of th|
|00001420| 69 73 20 63 64 0a 0a 20 | 20 20 20 72 65 70 65 61 |is cd.. | repea|
|00001430| 74 20 66 6f 72 20 65 61 | 63 68 20 69 74 65 6d 20 |t for ea|ch item |
|00001440| 69 20 69 6e 20 74 68 65 | 20 63 52 45 56 43 75 72 |i in the| cREVCur|
|00001450| 72 65 6e 74 54 61 62 73 | 20 6f 66 20 74 68 69 73 |rentTabs| of this|
|00001460| 20 73 74 61 63 6b 0a 20 | 20 20 20 20 20 73 65 74 | stack. | set|
|00001470| 20 74 68 65 20 6c 65 66 | 74 20 6f 66 20 67 72 70 | the lef|t of grp|
|00001480| 20 69 20 74 6f 20 74 68 | 65 20 6c 65 66 74 20 6f | i to th|e left o|
|00001490| 66 20 67 72 70 20 69 20 | 2b 20 74 4d 6f 76 65 4c |f grp i |+ tMoveL|
|000014a0| 65 66 74 0a 20 20 20 20 | 65 6e 64 20 72 65 70 65 |eft. |end repe|
|000014b0| 61 74 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 63 |at. s|et the c|
|000014c0| 52 45 56 4f 66 66 73 65 | 74 54 61 62 20 6f 66 20 |REVOffse|tTab of |
|000014d0| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 74 68 |this sta|ck to th|
|000014e0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000014f0| 74 68 69 73 20 63 64 0a | 20 20 20 20 73 65 74 20 |this cd.| set |
|00001500| 74 68 65 20 63 52 45 56 | 53 74 61 63 6b 4f 66 66 |the cREV|StackOff|
|00001510| 73 65 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |set of t|his stac|
|00001520| 6b 20 74 6f 20 74 4d 6f | 76 65 4c 65 66 74 20 2b |k to tMo|veLeft +|
|00001530| 20 74 68 65 20 63 52 45 | 56 53 74 61 63 6b 4f 66 | the cRE|VStackOf|
|00001540| 66 73 65 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |fset of |this sta|
|00001550| 63 6b 0a 20 20 20 20 62 | 72 65 61 6b 0a 20 20 63 |ck. b|reak. c|
|00001560| 61 73 65 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |ase the |short na|
|00001570| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |me of th|is cd is|
|00001580| 20 69 6e 20 22 52 45 56 | 43 75 73 74 6f 6d 2c 52 | in "REV|Custom,R|
|00001590| 45 56 53 63 72 69 70 74 | 22 20 61 6e 64 20 74 52 |EVScript|" and tR|
|000015a0| 69 67 68 74 20 3e 20 69 | 74 65 6d 20 33 20 6f 66 |ight > i|tem 3 of|
|000015b0| 20 74 68 65 20 73 63 72 | 65 65 6e 52 65 63 74 20 | the scr|eenRect |
|000015c0| 61 6e 64 20 28 69 74 65 | 6d 20 33 20 6f 66 20 74 |and (ite|m 3 of t|
|000015d0| 68 65 20 73 63 72 65 65 | 6e 52 65 63 74 20 2d 20 |he scree|nRect - |
|000015e0| 74 68 65 20 72 69 67 68 | 74 20 6f 66 20 74 68 69 |the righ|t of thi|
|000015f0| 73 20 73 74 61 63 6b 29 | 20 3c 20 74 68 65 20 6c |s stack)| < the l|
|00001600| 65 66 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |eft of t|his stac|
|00001610| 6b 0a 20 20 20 20 2d 2d | 63 68 61 6e 67 65 20 74 |k. --|change t|
|00001620| 68 65 20 72 65 63 74 20 | 6f 66 20 74 68 69 73 20 |he rect |of this |
|00001630| 73 74 61 63 6b 20 73 6f | 20 74 68 61 74 20 69 74 |stack so| that it|
|00001640| 20 62 65 63 6f 6d 65 73 | 20 6c 61 72 67 65 72 20 | becomes| larger |
|00001650| 62 75 74 20 72 65 6d 61 | 69 6e 73 20 6f 6e 20 73 |but rema|ins on s|
|00001660| 63 72 65 65 6e 0a 20 20 | 20 20 2d 2d 6d 6f 76 65 |creen. | --move|
|00001670| 20 74 68 65 20 74 61 62 | 20 62 75 74 74 6f 6e 73 | the tab| buttons|
|00001680| 20 73 6f 20 74 68 61 74 | 20 74 68 65 79 20 61 72 | so that| they ar|
|00001690| 65 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 70 6f |e in the| same po|
|000016a0| 73 69 74 69 6f 6e 20 72 | 65 6c 61 74 69 76 65 20 |sition r|elative |
|000016b0| 74 6f 20 74 68 65 20 73 | 63 72 65 65 6e 0a 20 20 |to the s|creen. |
|000016c0| 20 20 69 66 20 74 68 65 | 20 63 52 45 56 43 61 72 | if the| cREVCar|
|000016d0| 64 57 69 64 74 68 20 6f | 66 20 74 68 69 73 20 63 |dWidth o|f this c|
|000016e0| 64 20 3e 20 74 68 65 20 | 77 69 64 74 68 20 6f 66 |d > the |width of|
|000016f0| 20 74 68 69 73 20 73 74 | 61 63 6b 0a 20 20 20 20 | this st|ack. |
|00001700| 74 68 65 6e 20 70 75 74 | 20 74 68 65 20 63 52 45 |then put| the cRE|
|00001710| 56 43 61 72 64 57 69 64 | 74 68 20 6f 66 20 74 68 |VCardWid|th of th|
|00001720| 69 73 20 63 64 20 2d 20 | 74 68 65 20 77 69 64 74 |is cd - |the widt|
|00001730| 68 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |h of thi|s stack |
|00001740| 69 6e 74 6f 20 74 4d 6f | 76 65 4c 65 66 74 0a 20 |into tMo|veLeft. |
|00001750| 20 20 20 65 6c 73 65 20 | 70 75 74 20 74 68 65 20 | else |put the |
|00001760| 77 69 64 74 68 20 6f 66 | 20 74 68 69 73 20 73 74 |width of| this st|
|00001770| 61 63 6b 20 2d 20 74 68 | 65 20 63 52 45 56 43 61 |ack - th|e cREVCa|
|00001780| 72 64 57 69 64 74 68 20 | 6f 66 20 74 68 69 73 20 |rdWidth |of this |
|00001790| 63 64 20 69 6e 74 6f 20 | 74 4d 6f 76 65 4c 65 66 |cd into |tMoveLef|
|000017a0| 74 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 72 65 |t. se|t the re|
|000017b0| 63 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ct of th|is stack|
|000017c0| 20 74 6f 20 72 65 76 4e | 65 77 50 72 6f 70 65 72 | to revN|ewProper|
|000017d0| 74 79 50 61 6c 65 74 74 | 65 52 65 63 74 28 74 68 |tyPalett|eRect(th|
|000017e0| 65 20 6c 65 66 74 20 6f | 66 20 74 68 69 73 20 73 |e left o|f this s|
|000017f0| 74 61 63 6b 20 2d 20 74 | 4d 6f 76 65 4c 65 66 74 |tack - t|MoveLeft|
|00001800| 2c 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 69 |, the to|p of thi|
|00001810| 73 20 73 74 61 63 6b 2c | 20 74 68 65 20 72 69 67 |s stack,| the rig|
|00001820| 68 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ht of th|is stack|
|00001830| 2c 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 69 |, the to|p of thi|
|00001840| 73 20 73 74 61 63 6b 20 | 2b 20 74 68 65 20 63 52 |s stack |+ the cR|
|00001850| 45 56 43 61 72 64 48 65 | 69 67 68 74 20 6f 66 20 |EVCardHe|ight of |
|00001860| 74 68 69 73 20 63 64 29 | 0a 20 20 20 20 2d 2d 73 |this cd)|. --s|
|00001870| 65 74 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 74 |et the r|ect of t|
|00001880| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 69 74 65 |his stac|k to ite|
|00001890| 6d 20 31 20 6f 66 20 74 | 68 65 20 72 65 63 74 20 |m 1 of t|he rect |
|000018a0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 2d 20 |of this |stack - |
|000018b0| 74 4d 6f 76 65 4c 65 66 | 74 2c 20 69 74 65 6d 20 |tMoveLef|t, item |
|000018c0| 32 20 6f 66 20 74 68 65 | 20 72 65 63 74 20 6f 66 |2 of the| rect of|
|000018d0| 20 74 68 69 73 20 73 74 | 61 63 6b 2c 20 20 69 74 | this st|ack, it|
|000018e0| 65 6d 20 33 20 6f 66 20 | 74 68 65 20 72 65 63 74 |em 3 of |the rect|
|000018f0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 2c 20 | of this| stack, |
|00001900| 69 74 65 6d 20 34 20 6f | 66 20 74 68 65 20 72 65 |item 4 o|f the re|
|00001910| 63 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ct of th|is stack|
|00001920| 20 2d 20 74 68 65 20 68 | 65 69 67 68 74 20 6f 66 | - the h|eight of|
|00001930| 20 74 68 69 73 20 73 74 | 61 63 6b 20 2b 20 74 68 | this st|ack + th|
|00001940| 65 20 63 52 45 56 43 61 | 72 64 48 65 69 67 68 74 |e cREVCa|rdHeight|
|00001950| 20 6f 66 20 74 68 69 73 | 20 63 64 0a 20 20 20 20 | of this| cd. |
|00001960| 69 66 20 74 68 65 20 63 | 52 45 56 53 74 61 63 6b |if the c|REVStack|
|00001970| 4f 66 66 73 65 74 20 6f | 66 20 74 68 69 73 20 73 |Offset o|f this s|
|00001980| 74 61 63 6b 20 69 73 20 | 65 6d 70 74 79 20 6f 72 |tack is |empty or|
|00001990| 20 28 74 68 65 20 63 52 | 45 56 54 61 62 4f 66 66 | (the cR|EVTabOff|
|000019a0| 73 65 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |set of t|his stac|
|000019b0| 6b 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 61 |k is not| empty a|
|000019c0| 6e 64 20 74 68 65 20 63 | 52 45 56 54 61 62 4f 66 |nd the c|REVTabOf|
|000019d0| 66 73 65 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |fset of |this sta|
|000019e0| 63 6b 20 69 73 20 6e 6f | 74 20 74 68 65 20 73 68 |ck is no|t the sh|
|000019f0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00001a00| 20 63 64 29 20 74 68 65 | 6e 0a 20 20 20 20 20 20 | cd) the|n. |
|00001a10| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00001a20| 69 74 65 6d 20 69 20 69 | 6e 20 74 68 65 20 63 52 |item i i|n the cR|
|00001a30| 45 56 43 75 72 72 65 6e | 74 54 61 62 73 20 6f 66 |EVCurren|tTabs of|
|00001a40| 20 74 68 69 73 20 73 74 | 61 63 6b 0a 20 20 20 20 | this st|ack. |
|00001a50| 20 20 20 20 73 65 74 20 | 74 68 65 20 63 52 45 56 | set |the cREV|
|00001a60| 4c 65 66 74 42 65 66 6f | 72 65 4f 66 66 73 65 74 |LeftBefo|reOffset|
|00001a70| 20 6f 66 20 67 72 70 20 | 69 20 74 6f 20 74 68 65 | of grp |i to the|
|00001a80| 20 6c 65 66 74 20 6f 66 | 20 67 72 70 20 69 0a 20 | left of| grp i. |
|00001a90| 20 20 20 20 20 20 20 73 | 65 74 20 74 68 65 20 6c | s|et the l|
|00001aa0| 65 66 74 20 6f 66 20 67 | 72 70 20 69 20 74 6f 20 |eft of g|rp i to |
|00001ab0| 74 68 65 20 6c 65 66 74 | 20 6f 66 20 67 72 70 20 |the left| of grp |
|00001ac0| 69 20 2b 20 74 4d 6f 76 | 65 4c 65 66 74 0a 20 20 |i + tMov|eLeft. |
|00001ad0| 20 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 | end |repeat. |
|00001ae0| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 2d 2d | else.| --|
|00001af0| 74 61 62 73 20 61 6c 72 | 65 61 64 79 20 6f 66 66 |tabs alr|eady off|
|00001b00| 73 65 74 2c 20 6e 65 65 | 64 20 74 6f 20 6f 66 66 |set, nee|d to off|
|00001b10| 73 65 74 20 74 68 65 6d | 20 61 63 63 6f 72 64 69 |set them| accordi|
|00001b20| 6e 67 20 74 6f 20 6f 72 | 69 67 69 6e 61 6c 20 63 |ng to or|iginal c|
|00001b30| 6f 6f 72 64 69 6e 61 74 | 65 73 0a 20 20 20 20 20 |oordinat|es. |
|00001b40| 20 72 65 70 65 61 74 20 | 66 6f 72 20 65 61 63 68 | repeat |for each|
|00001b50| 20 69 74 65 6d 20 69 20 | 69 6e 20 74 68 65 20 63 | item i |in the c|
|00001b60| 52 45 56 43 75 72 72 65 | 6e 74 54 61 62 73 20 6f |REVCurre|ntTabs o|
|00001b70| 66 20 74 68 69 73 20 73 | 74 61 63 6b 0a 20 20 20 |f this s|tack. |
|00001b80| 20 20 20 20 20 73 65 74 | 20 74 68 65 20 6c 65 66 | set| the lef|
|00001b90| 74 20 6f 66 20 67 72 70 | 20 69 20 74 6f 20 74 68 |t of grp| i to th|
|00001ba0| 65 20 63 52 45 56 4c 65 | 66 74 42 65 66 6f 72 65 |e cREVLe|ftBefore|
|00001bb0| 4f 66 66 73 65 74 20 6f | 66 20 67 72 70 20 69 20 |Offset o|f grp i |
|00001bc0| 2b 20 74 4d 6f 76 65 4c | 65 66 74 0a 20 20 20 20 |+ tMoveL|eft. |
|00001bd0| 20 20 65 6e 64 20 72 65 | 70 65 61 74 0a 20 20 20 | end re|peat. |
|00001be0| 20 65 6e 64 20 69 66 0a | 20 20 20 20 73 65 74 20 | end if.| set |
|00001bf0| 74 68 65 20 63 52 45 56 | 4f 66 66 73 65 74 54 61 |the cREV|OffsetTa|
|00001c00| 62 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |b of thi|s stack |
|00001c10| 74 6f 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |to the s|hort nam|
|00001c20| 65 20 6f 66 20 74 68 69 | 73 20 63 64 0a 20 20 20 |e of thi|s cd. |
|00001c30| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 53 74 61 | set the| cREVSta|
|00001c40| 63 6b 4f 66 66 73 65 74 | 20 6f 66 20 74 68 69 73 |ckOffset| of this|
|00001c50| 20 73 74 61 63 6b 20 74 | 6f 20 74 4d 6f 76 65 4c | stack t|o tMoveL|
|00001c60| 65 66 74 0a 20 20 20 20 | 62 72 65 61 6b 0a 20 20 |eft. |break. |
|00001c70| 63 61 73 65 20 74 68 65 | 20 63 52 45 56 53 74 61 |case the| cREVSta|
|00001c80| 63 6b 4f 66 66 73 65 74 | 20 6f 66 20 74 68 69 73 |ckOffset| of this|
|00001c90| 20 73 74 61 63 6b 20 69 | 73 20 6e 6f 74 20 65 6d | stack i|s not em|
|00001ca0| 70 74 79 0a 20 20 20 20 | 2d 2d 63 68 61 6e 67 65 |pty. |--change|
|00001cb0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 69 | the rec|t of thi|
|00001cc0| 73 20 73 74 61 63 6b 20 | 73 6f 20 74 68 61 74 20 |s stack |so that |
|00001cd0| 69 74 20 62 65 63 6f 6d | 65 73 20 73 6d 61 6c 6c |it becom|es small|
|00001ce0| 65 72 2c 20 6c 65 66 74 | 20 61 6c 69 67 6e 65 64 |er, left| aligned|
|00001cf0| 0a 20 20 20 20 2d 2d 6d | 6f 76 65 20 74 68 65 20 |. --m|ove the |
|00001d00| 74 61 62 20 62 75 74 74 | 6f 6e 73 20 73 6f 20 74 |tab butt|ons so t|
|00001d10| 68 61 74 20 74 68 65 79 | 20 61 72 65 20 69 6e 20 |hat they| are in |
|00001d20| 74 68 65 20 73 61 6d 65 | 20 70 6f 73 69 74 69 6f |the same| positio|
|00001d30| 6e 20 72 65 6c 61 74 69 | 76 65 20 74 6f 20 74 68 |n relati|ve to th|
|00001d40| 65 20 73 63 72 65 65 6e | 0a 20 20 20 20 70 75 74 |e screen|. put|
|00001d50| 20 74 68 65 20 63 52 45 | 56 53 74 61 63 6b 4f 66 | the cRE|VStackOf|
|00001d60| 66 73 65 74 20 6f 66 20 | 74 68 69 73 20 73 74 61 |fset of |this sta|
|00001d70| 63 6b 20 69 6e 74 6f 20 | 74 4d 6f 76 65 4c 65 66 |ck into |tMoveLef|
|00001d80| 74 0a 20 20 20 20 73 65 | 74 20 74 68 65 20 72 65 |t. se|t the re|
|00001d90| 63 74 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ct of th|is stack|
|00001da0| 20 74 6f 20 72 65 76 4e | 65 77 50 72 6f 70 65 72 | to revN|ewProper|
|00001db0| 74 79 50 61 6c 65 74 74 | 65 52 65 63 74 28 74 68 |tyPalett|eRect(th|
|00001dc0| 65 20 6c 65 66 74 20 6f | 66 20 74 68 69 73 20 73 |e left o|f this s|
|00001dd0| 74 61 63 6b 20 2b 20 74 | 4d 6f 76 65 4c 65 66 74 |tack + t|MoveLeft|
|00001de0| 2c 20 74 68 65 20 74 6f | 70 20 6f 66 20 74 68 69 |, the to|p of thi|
|00001df0| 73 20 73 74 61 63 6b 2c | 20 74 68 65 20 6c 65 66 |s stack,| the lef|
|00001e00| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |t of thi|s stack |
|00001e10| 2b 20 74 68 65 20 63 52 | 45 56 43 61 72 64 57 69 |+ the cR|EVCardWi|
|00001e20| 64 74 68 20 6f 66 20 74 | 68 69 73 20 63 64 20 2b |dth of t|his cd +|
|00001e30| 20 74 4d 6f 76 65 4c 65 | 66 74 2c 20 74 68 65 20 | tMoveLe|ft, the |
|00001e40| 74 6f 70 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |top of t|his stac|
|00001e50| 6b 20 2b 20 74 68 65 20 | 63 52 45 56 43 61 72 64 |k + the |cREVCard|
|00001e60| 48 65 69 67 68 74 20 6f | 66 20 74 68 69 73 20 63 |Height o|f this c|
|00001e70| 64 29 0a 20 20 20 20 72 | 65 70 65 61 74 20 66 6f |d). r|epeat fo|
|00001e80| 72 20 65 61 63 68 20 69 | 74 65 6d 20 69 20 69 6e |r each i|tem i in|
|00001e90| 20 74 68 65 20 63 52 45 | 56 43 75 72 72 65 6e 74 | the cRE|VCurrent|
|00001ea0| 54 61 62 73 20 6f 66 20 | 74 68 69 73 20 73 74 61 |Tabs of |this sta|
|00001eb0| 63 6b 0a 20 20 20 20 20 | 20 69 66 20 74 68 65 20 |ck. | if the |
|00001ec0| 63 52 45 56 4c 65 66 74 | 42 65 66 6f 72 65 4f 66 |cREVLeft|BeforeOf|
|00001ed0| 66 73 65 74 20 6f 66 20 | 62 67 20 69 20 69 73 20 |fset of |bg i is |
|00001ee0| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 20 73 |not empt|y then s|
|00001ef0| 65 74 20 74 68 65 20 6c | 65 66 74 20 6f 66 20 62 |et the l|eft of b|
|00001f00| 67 20 69 20 74 6f 20 74 | 68 65 20 63 52 45 56 4c |g i to t|he cREVL|
|00001f10| 65 66 74 42 65 66 6f 72 | 65 4f 66 66 73 65 74 20 |eftBefor|eOffset |
|00001f20| 6f 66 20 62 67 20 69 0a | 20 20 20 20 20 20 73 65 |of bg i.| se|
|00001f30| 74 20 74 68 65 20 63 52 | 45 56 4c 65 66 74 42 65 |t the cR|EVLeftBe|
|00001f40| 66 6f 72 65 4f 66 66 73 | 65 74 20 6f 66 20 62 67 |foreOffs|et of bg|
|00001f50| 20 69 20 74 6f 20 65 6d | 70 74 79 0a 20 20 20 20 | i to em|pty. |
|00001f60| 65 6e 64 20 72 65 70 65 | 61 74 0a 20 20 20 20 73 |end repe|at. s|
|00001f70| 65 74 20 74 68 65 20 63 | 52 45 56 53 74 61 63 6b |et the c|REVStack|
|00001f80| 4f 66 66 73 65 74 20 6f | 66 20 74 68 69 73 20 73 |Offset o|f this s|
|00001f90| 74 61 63 6b 20 74 6f 20 | 65 6d 70 74 79 0a 20 20 |tack to |empty. |
|00001fa0| 20 20 73 65 74 20 74 68 | 65 20 63 52 45 56 4f 66 | set th|e cREVOf|
|00001fb0| 66 73 65 74 54 61 62 20 | 6f 66 20 74 68 69 73 20 |fsetTab |of this |
|00001fc0| 73 74 61 63 6b 20 74 6f | 20 65 6d 70 74 79 0a 20 |stack to| empty. |
|00001fd0| 20 20 20 62 72 65 61 6b | 0a 20 20 63 61 73 65 20 | break|. case |
|00001fe0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00001ff0| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 22 45 6d |f this c|d is "Em|
|00002000| 70 74 79 20 53 65 6c 65 | 63 74 69 6f 6e 22 0a 20 |pty Sele|ction". |
|00002010| 20 20 20 73 65 74 20 74 | 68 65 20 72 65 63 74 20 | set t|he rect |
|00002020| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 74 6f |of this |stack to|
|00002030| 20 72 65 76 4e 65 77 50 | 72 6f 70 65 72 74 79 50 | revNewP|ropertyP|
|00002040| 61 6c 65 74 74 65 52 65 | 63 74 28 74 68 65 20 6c |aletteRe|ct(the l|
|00002050| 65 66 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |eft of t|his stac|
|00002060| 6b 2c 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |k, the t|op of th|
|00002070| 69 73 20 73 74 61 63 6b | 2c 20 74 68 65 20 72 69 |is stack|, the ri|
|00002080| 67 68 74 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ght of t|his stac|
|00002090| 6b 2c 20 74 68 65 20 74 | 6f 70 20 6f 66 20 74 68 |k, the t|op of th|
|000020a0| 69 73 20 73 74 61 63 6b | 20 2b 20 74 68 65 20 63 |is stack| + the c|
|000020b0| 52 45 56 43 61 72 64 48 | 65 69 67 68 74 20 6f 66 |REVCardH|eight of|
|000020c0| 20 74 68 69 73 20 63 64 | 29 0a 20 20 20 20 2d 2d | this cd|). --|
|000020d0| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|000020e0| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 69 74 |this sta|ck to it|
|000020f0| 65 6d 20 31 20 74 6f 20 | 33 20 6f 66 20 74 68 65 |em 1 to |3 of the|
|00002100| 20 72 65 63 74 20 6f 66 | 20 74 68 69 73 20 73 74 | rect of| this st|
|00002110| 61 63 6b 2c 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |ack, the| top of |
|00002120| 74 68 69 73 20 73 74 61 | 63 6b 20 2b 20 74 68 65 |this sta|ck + the|
|00002130| 20 63 52 45 56 43 61 72 | 64 48 65 69 67 68 74 20 | cREVCar|dHeight |
|00002140| 6f 66 20 74 68 69 73 20 | 63 64 0a 20 20 20 20 62 |of this |cd. b|
|00002150| 72 65 61 6b 0a 20 20 64 | 65 66 61 75 6c 74 0a 20 |reak. d|efault. |
|00002160| 20 20 20 72 65 76 53 65 | 74 50 61 6c 65 74 74 65 | revSe|tPalette|
|00002170| 52 65 63 74 61 6e 64 53 | 61 6e 69 74 79 43 68 65 |RectandS|anityChe|
|00002180| 63 6b 0a 20 20 20 20 62 | 72 65 61 6b 0a 20 20 65 |ck. b|reak. e|
|00002190| 6e 64 20 73 77 69 74 63 | 68 0a 20 20 69 66 20 74 |nd switc|h. if t|
|000021a0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000021b0| 20 74 68 69 73 20 63 64 | 20 69 73 20 6e 6f 74 20 | this cd| is not |
|000021c0| 22 45 6d 70 74 79 20 53 | 65 6c 65 63 74 69 6f 6e |"Empty S|election|
|000021d0| 22 20 74 68 65 6e 0a 20 | 20 20 20 70 75 74 20 74 |" then. | put t|
|000021e0| 68 65 20 77 69 64 74 68 | 20 6f 66 20 74 68 69 73 |he width| of this|
|000021f0| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 74 43 61 72 | stack i|nto tCar|
|00002200| 64 52 69 67 68 74 0a 20 | 20 20 20 73 65 74 20 74 |dRight. | set t|
|00002210| 68 65 20 72 65 63 74 20 | 6f 66 20 62 74 6e 20 22 |he rect |of btn "|
|00002220| 53 65 6c 65 63 74 69 6f | 6e 20 44 65 73 63 72 69 |Selectio|n Descri|
|00002230| 70 74 69 6f 6e 22 20 6f | 66 20 62 67 20 22 72 65 |ption" o|f bg "re|
|00002240| 76 42 61 63 6b 64 72 6f | 70 22 20 74 6f 20 69 74 |vBackdro|p" to it|
|00002250| 65 6d 20 31 20 74 6f 20 | 32 20 6f 66 20 74 68 65 |em 1 to |2 of the|
|00002260| 20 72 65 63 74 20 6f 66 | 20 62 74 6e 20 22 53 65 | rect of| btn "Se|
|00002270| 6c 65 63 74 69 6f 6e 20 | 44 65 73 63 72 69 70 74 |lection |Descript|
|00002280| 69 6f 6e 22 20 6f 66 20 | 62 67 20 22 72 65 76 42 |ion" of |bg "revB|
|00002290| 61 63 6b 64 72 6f 70 22 | 2c 20 74 43 61 72 64 52 |ackdrop"|, tCardR|
|000022a0| 69 67 68 74 20 2d 20 31 | 30 33 2c 20 74 68 65 20 |ight - 1|03, the |
|000022b0| 62 6f 74 74 6f 6d 20 6f | 66 20 62 74 6e 20 22 53 |bottom o|f btn "S|
|000022c0| 65 6c 65 63 74 69 6f 6e | 20 44 65 73 63 72 69 70 |election| Descrip|
|000022d0| 74 69 6f 6e 22 0a 20 20 | 20 20 73 65 74 20 74 68 |tion". | set th|
|000022e0| 65 20 72 69 67 68 74 20 | 6f 66 20 66 6c 64 20 22 |e right |of fld "|
|000022f0| 50 72 6f 66 69 6c 65 22 | 20 6f 66 20 62 67 20 22 |Profile"| of bg "|
|00002300| 72 65 76 42 61 63 6b 64 | 72 6f 70 22 20 74 6f 20 |revBackd|rop" to |
|00002310| 74 43 61 72 64 52 69 67 | 68 74 20 2d 20 32 35 0a |tCardRig|ht - 25.|
|00002320| 20 20 20 20 73 65 74 20 | 74 68 65 20 72 69 67 68 | set |the righ|
|00002330| 74 20 6f 66 20 62 74 6e | 20 22 52 45 56 4c 6f 63 |t of btn| "REVLoc|
|00002340| 6b 22 20 74 6f 20 74 43 | 61 72 64 52 69 67 68 74 |k" to tC|ardRight|
|00002350| 20 2d 20 37 0a 20 20 65 | 6e 64 20 69 66 0a 65 6e | - 7. e|nd if.en|
|00002360| 64 20 52 45 56 53 65 74 | 52 65 63 74 0a 0a 6f 6e |d REVSet|Rect..on|
|00002370| 20 63 6c 6f 73 65 43 61 | 72 64 0a 20 20 67 6c 6f | closeCa|rd. glo|
|00002380| 62 61 6c 20 67 52 45 56 | 44 6f 6e 74 55 6e 68 69 |bal gREV|DontUnhi|
|00002390| 6c 69 74 65 54 61 62 2c | 20 67 52 45 56 54 61 62 |liteTab,| gREVTab|
|000023a0| 50 6c 61 74 66 6f 72 6d | 0a 20 20 69 66 20 6c 43 |Platform|. if lC|
|000023b0| 6c 6f 73 69 6e 67 53 74 | 61 63 6b 20 74 68 65 6e |losingSt|ack then|
|000023c0| 0a 20 20 20 20 70 75 74 | 20 66 61 6c 73 65 20 69 |. put| false i|
|000023d0| 6e 74 6f 20 6c 43 6c 6f | 73 69 6e 67 53 74 61 63 |nto lClo|singStac|
|000023e0| 6b 0a 20 20 20 20 70 61 | 73 73 20 63 6c 6f 73 65 |k. pa|ss close|
|000023f0| 43 61 72 64 2d 2d 20 70 | 72 65 76 65 6e 74 20 74 |Card-- p|revent t|
|00002400| 61 62 20 66 6c 69 63 6b | 65 72 20 6f 6e 20 63 6c |ab flick|er on cl|
|00002410| 6f 73 69 6e 67 20 73 74 | 61 63 6b 0a 20 20 65 6e |osing st|ack. en|
|00002420| 64 20 69 66 0a 20 20 69 | 66 20 67 52 45 56 44 6f |d if. i|f gREVDo|
|00002430| 6e 74 55 6e 68 69 6c 74 | 65 54 61 62 20 74 68 65 |ntUnhilt|eTab the|
|00002440| 6e 20 70 61 73 73 20 63 | 6c 6f 73 65 43 61 72 64 |n pass c|loseCard|
|00002450| 0a 20 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |. if th|ere is a|
|00002460| 20 62 74 6e 20 28 74 68 | 65 20 73 68 6f 72 74 20 | btn (th|e short |
|00002470| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 29 |name of |this cd)|
|00002480| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 69 63 | then se|t the ic|
|00002490| 6f 6e 20 6f 66 20 62 74 | 6e 20 28 74 68 65 20 73 |on of bt|n (the s|
|000024a0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000024b0| 73 20 63 64 29 20 74 6f | 20 74 68 65 20 63 52 45 |s cd) to| the cRE|
|000024c0| 56 55 6e 48 69 6c 69 74 | 65 49 63 6f 6e 5b 67 52 |VUnHilit|eIcon[gR|
|000024d0| 45 56 54 61 62 50 6c 61 | 74 66 6f 72 6d 5d 20 6f |EVTabPla|tform] o|
|000024e0| 66 20 62 74 6e 20 28 74 | 68 65 20 73 68 6f 72 74 |f btn (t|he short|
|000024f0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00002500| 29 0a 20 20 70 61 73 73 | 20 63 6c 6f 73 65 43 61 |). pass| closeCa|
|00002510| 72 64 0a 65 6e 64 20 63 | 6c 6f 73 65 43 61 72 64 |rd.end c|loseCard|
|00002520| 0a 0a 6f 6e 20 63 6c 6f | 73 65 53 74 61 63 6b 52 |..on clo|seStackR|
|00002530| 65 71 75 65 73 74 0a 20 | 20 70 75 74 20 74 72 75 |equest. | put tru|
|00002540| 65 20 69 6e 74 6f 20 6c | 43 6c 6f 73 69 6e 67 53 |e into l|ClosingS|
|00002550| 74 61 63 6b 0a 20 20 70 | 61 73 73 20 63 6c 6f 73 |tack. p|ass clos|
|00002560| 65 53 74 61 63 6b 52 65 | 71 75 65 73 74 0a 65 6e |eStackRe|quest.en|
|00002570| 64 20 63 6c 6f 73 65 53 | 74 61 63 6b 52 65 71 75 |d closeS|tackRequ|
|00002580| 65 73 74 0a 0a 6f 6e 20 | 72 65 76 43 6c 6f 73 65 |est..on |revClose|
|00002590| 53 74 61 63 6b 0a 20 20 | 67 6c 6f 62 61 6c 20 67 |Stack. |global g|
|000025a0| 52 45 56 54 61 62 73 4f | 70 65 6e 42 65 66 6f 72 |REVTabsO|penBefor|
|000025b0| 65 4c 69 6e 6b 69 6e 67 | 2c 20 67 52 45 56 4f 70 |eLinking|, gREVOp|
|000025c0| 65 6e 54 61 62 73 2c 20 | 67 52 45 56 4c 69 6e 6b |enTabs, |gREVLink|
|000025d0| 65 64 4f 62 6a 65 63 74 | 73 2c 20 67 52 45 56 4f |edObject|s, gREVO|
|000025e0| 62 6a 65 63 74 50 61 6c | 65 74 74 65 2c 20 67 52 |bjectPal|ette, gR|
|000025f0| 45 56 50 61 6c 65 74 74 | 65 42 75 66 66 65 72 2c |EVPalett|eBuffer,|
|00002600| 20 67 52 45 56 54 61 62 | 50 6c 61 74 66 6f 72 6d | gREVTab|Platform|
|00002610| 0a 20 20 2d 2d 69 66 20 | 74 68 65 20 73 74 61 63 |. --if |the stac|
|00002620| 6b 20 69 73 20 75 6e 6c | 69 6e 6b 65 64 20 61 6e |k is unl|inked an|
|00002630| 64 20 62 65 69 6e 67 20 | 63 6c 6f 73 65 64 20 62 |d being |closed b|
|00002640| 79 20 74 68 65 20 75 73 | 65 72 2c 20 6e 6f 74 20 |y the us|er, not |
|00002650| 64 65 6c 65 74 65 64 20 | 74 68 65 6e 20 73 65 74 |deleted |then set|
|00002660| 20 74 68 65 20 74 61 62 | 73 20 74 6f 20 6f 70 65 | the tab|s to ope|
|00002670| 6e 20 6f 6e 20 61 6e 79 | 20 65 6d 70 74 79 20 73 |n on any| empty s|
|00002680| 68 65 6c 6c 20 70 61 6c | 65 74 74 65 73 0a 20 20 |hell pal|ettes. |
|00002690| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0a 20 20 73 65 |lock scr|een. se|
|000026a0| 74 20 74 68 65 20 77 68 | 6f 6c 65 4d 61 74 63 68 |t the wh|oleMatch|
|000026b0| 65 73 20 74 6f 20 74 72 | 75 65 0a 20 20 69 66 20 |es to tr|ue. if |
|000026c0| 74 68 65 20 63 52 45 56 | 4c 69 6e 6b 65 64 20 6f |the cREV|Linked o|
|000026d0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 73 20 |f this s|tack is |
|000026e0| 65 6d 70 74 79 20 61 6e | 64 20 6c 43 6c 6f 73 69 |empty an|d lClosi|
|000026f0| 6e 67 53 74 61 63 6b 0a | 20 20 74 68 65 6e 20 70 |ngStack.| then p|
|00002700| 75 74 20 74 68 65 20 63 | 52 45 56 43 75 72 72 65 |ut the c|REVCurre|
|00002710| 6e 74 54 61 62 73 20 6f | 66 20 74 68 69 73 20 73 |ntTabs o|f this s|
|00002720| 74 61 63 6b 20 69 6e 74 | 6f 20 67 52 45 56 54 61 |tack int|o gREVTa|
|00002730| 62 73 4f 70 65 6e 42 65 | 66 6f 72 65 4c 69 6e 6b |bsOpenBe|foreLink|
|00002740| 69 6e 67 0a 20 20 70 75 | 74 20 74 68 65 20 63 52 |ing. pu|t the cR|
|00002750| 45 56 43 75 72 72 65 6e | 74 54 61 62 73 20 6f 66 |EVCurren|tTabs of|
|00002760| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 6e 74 6f | this st|ack into|
|00002770| 20 74 43 75 72 72 65 6e | 74 54 61 62 73 0a 20 20 | tCurren|tTabs. |
|00002780| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00002790| 69 74 65 6d 20 69 20 69 | 6e 20 74 43 75 72 72 65 |item i i|n tCurre|
|000027a0| 6e 74 54 61 62 73 0a 20 | 20 20 20 64 65 6c 65 74 |ntTabs. | delet|
|000027b0| 65 20 69 74 65 6d 20 69 | 74 65 6d 4f 66 66 73 65 |e item i|temOffse|
|000027c0| 74 28 69 2c 20 67 52 45 | 56 4f 70 65 6e 54 61 62 |t(i, gRE|VOpenTab|
|000027d0| 73 29 20 6f 66 20 67 52 | 45 56 4f 70 65 6e 54 61 |s) of gR|EVOpenTa|
|000027e0| 62 73 0a 20 20 20 20 73 | 65 74 20 74 68 65 20 63 |bs. s|et the c|
|000027f0| 52 45 56 57 68 69 63 68 | 54 61 62 20 6f 66 20 63 |REVWhich|Tab of c|
|00002800| 64 20 69 20 74 6f 20 65 | 6d 70 74 79 0a 20 20 65 |d i to e|mpty. e|
|00002810| 6e 64 20 72 65 70 65 61 | 74 0a 20 20 70 75 74 20 |nd repea|t. put |
|00002820| 74 68 65 20 63 52 45 56 | 4c 69 6e 6b 65 64 20 6f |the cREV|Linked o|
|00002830| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 69 6e 74 |f this s|tack int|
|00002840| 6f 20 74 4c 69 6e 6b 65 | 64 4f 62 6a 65 63 74 73 |o tLinke|dObjects|
|00002850| 0a 20 20 69 66 20 74 4c | 69 6e 6b 65 64 4f 62 6a |. if tL|inkedObj|
|00002860| 65 63 74 73 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |ects is |not empt|
|00002870| 79 20 74 68 65 6e 0a 20 | 20 20 20 2d 2d 49 66 20 |y then. | --If |
|00002880| 74 68 69 73 20 69 73 20 | 74 68 65 20 6f 6e 6c 79 |this is |the only|
|00002890| 20 6c 69 6e 6b 65 64 20 | 70 61 6c 65 74 74 65 20 | linked |palette |
|000028a0| 66 6f 72 20 61 6e 79 20 | 6f 66 20 74 68 65 20 6f |for any |of the o|
|000028b0| 62 6a 65 63 74 73 20 74 | 68 65 6e 0a 20 20 20 20 |bjects t|hen. |
|000028c0| 2d 2d 72 65 6d 6f 76 65 | 20 74 68 65 6d 20 66 72 |--remove| them fr|
|000028d0| 6f 6d 20 67 52 45 56 4c | 69 6e 6b 65 64 4f 62 6a |om gREVL|inkedObj|
|000028e0| 65 63 74 73 20 6c 69 73 | 74 69 6e 67 73 2e 0a 20 |ects lis|tings.. |
|000028f0| 20 20 20 72 65 70 65 61 | 74 20 66 6f 72 20 65 61 | repea|t for ea|
|00002900| 63 68 20 6c 69 6e 65 20 | 6c 20 69 6e 20 74 4c 69 |ch line |l in tLi|
|00002910| 6e 6b 65 64 4f 62 6a 65 | 63 74 73 0a 20 20 20 20 |nkedObje|cts. |
|00002920| 20 20 70 75 74 20 72 65 | 76 4c 69 6e 6b 65 64 50 | put re|vLinkedP|
|00002930| 61 6c 65 74 74 65 73 4c | 69 73 74 28 6c 29 20 69 |alettesL|ist(l) i|
|00002940| 6e 74 6f 20 74 4c 69 6e | 6b 65 64 50 61 6c 65 74 |nto tLin|kedPalet|
|00002950| 74 65 73 0a 20 20 20 20 | 20 20 69 66 20 74 68 65 |tes. | if the|
|00002960| 20 6e 75 6d 20 6f 66 20 | 6c 69 6e 65 73 20 69 6e | num of |lines in|
|00002970| 20 74 4c 69 6e 6b 65 64 | 50 61 6c 65 74 74 65 73 | tLinked|Palettes|
|00002980| 20 69 73 20 31 20 74 68 | 65 6e 0a 20 20 20 20 20 | is 1 th|en. |
|00002990| 20 20 20 2d 2d 74 68 69 | 73 20 69 73 20 74 68 65 | --thi|s is the|
|000029a0| 20 6f 6e 6c 79 20 70 61 | 6c 65 74 74 65 20 74 68 | only pa|lette th|
|000029b0| 65 20 6f 62 6a 65 63 74 | 20 69 73 20 6c 69 6e 6b |e object| is link|
|000029c0| 65 64 20 74 6f 0a 20 20 | 20 20 20 20 20 20 64 65 |ed to. | de|
|000029d0| 6c 65 74 65 20 6c 69 6e | 65 20 6c 69 6e 65 4f 66 |lete lin|e lineOf|
|000029e0| 66 73 65 74 28 6c 2c 67 | 52 45 56 4c 69 6e 6b 65 |fset(l,g|REVLinke|
|000029f0| 64 4f 62 6a 65 63 74 73 | 29 20 6f 66 20 67 52 45 |dObjects|) of gRE|
|00002a00| 56 4c 69 6e 6b 65 64 4f | 62 6a 65 63 74 73 0a 20 |VLinkedO|bjects. |
|00002a10| 20 20 20 20 20 65 6e 64 | 20 69 66 0a 20 20 20 20 | end| if. |
|00002a20| 65 6e 64 20 72 65 70 65 | 61 74 0a 20 20 65 6e 64 |end repe|at. end|
|00002a30| 20 69 66 0a 20 20 69 66 | 20 74 68 65 20 73 68 6f | if. if| the sho|
|00002a40| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00002a50| 73 74 61 63 6b 20 69 73 | 20 67 52 45 56 4f 62 6a |stack is| gREVObj|
|00002a60| 65 63 74 50 61 6c 65 74 | 74 65 20 74 68 65 6e 20 |ectPalet|te then |
|00002a70| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 67 |put empt|y into g|
|00002a80| 52 45 56 4f 62 6a 65 63 | 74 50 61 6c 65 74 74 65 |REVObjec|tPalette|
|00002a90| 0a 0a 20 20 69 66 20 74 | 68 65 20 63 52 45 56 4d |.. if t|he cREVM|
|00002aa0| 61 78 69 6d 69 7a 65 64 | 20 6f 66 20 74 68 69 73 |aximized| of this|
|00002ab0| 20 63 64 0a 20 20 74 68 | 65 6e 20 73 65 74 20 74 | cd. th|en set t|
|00002ac0| 68 65 20 63 52 45 56 4d | 61 78 69 6d 69 7a 65 64 |he cREVM|aximized|
|00002ad0| 53 63 72 69 70 74 45 64 | 69 74 6f 72 54 6f 70 4c |ScriptEd|itorTopL|
|00002ae0| 65 66 74 20 6f 66 20 73 | 74 61 63 6b 20 22 52 45 |eft of s|tack "RE|
|00002af0| 56 50 72 65 66 65 72 65 | 6e 63 65 73 22 20 74 6f |VPrefere|nces" to|
|00002b00| 20 74 68 65 20 74 6f 70 | 6c 65 66 74 20 6f 66 20 | the top|left of |
|00002b10| 6d 65 0a 20 20 65 6c 73 | 65 20 73 65 74 20 74 68 |me. els|e set th|
|00002b20| 65 20 63 52 45 56 50 72 | 6f 70 65 72 74 79 50 61 |e cREVPr|opertyPa|
|00002b30| 6c 65 74 74 65 54 6f 70 | 4c 65 66 74 20 6f 66 20 |letteTop|Left of |
|00002b40| 73 74 61 63 6b 20 22 52 | 45 56 50 72 65 66 65 72 |stack "R|EVPrefer|
|00002b50| 65 6e 63 65 73 22 20 74 | 6f 20 74 68 65 20 74 6f |ences" t|o the to|
|00002b60| 70 6c 65 66 74 20 6f 66 | 20 6d 65 0a 0a 20 20 2d |pleft of| me.. -|
|00002b70| 2d 62 75 66 66 65 72 69 | 6e 67 20 70 72 6f 70 65 |-bufferi|ng prope|
|00002b80| 72 74 69 65 73 20 70 61 | 6c 65 74 74 65 73 0a 20 |rties pa|lettes. |
|00002b90| 20 73 65 74 20 74 68 65 | 20 63 52 45 56 4f 66 66 | set the| cREVOff|
|00002ba0| 73 65 74 54 61 62 20 6f | 66 20 74 68 69 73 20 73 |setTab o|f this s|
|00002bb0| 74 61 63 6b 20 74 6f 20 | 65 6d 70 74 79 0a 20 20 |tack to |empty. |
|00002bc0| 73 65 74 20 74 68 65 20 | 63 52 45 56 45 6d 70 74 |set the |cREVEmpt|
|00002bd0| 79 53 68 65 6c 6c 20 6f | 66 20 74 68 69 73 20 73 |yShell o|f this s|
|00002be0| 74 61 63 6b 20 74 6f 20 | 65 6d 70 74 79 0a 20 20 |tack to |empty. |
|00002bf0| 73 65 74 20 74 68 65 20 | 63 52 45 56 4c 69 6e 6b |set the |cREVLink|
|00002c00| 65 64 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |ed of th|is stack|
|00002c10| 20 74 6f 20 65 6d 70 74 | 79 0a 20 20 73 65 74 20 | to empt|y. set |
|00002c20| 74 68 65 20 63 52 45 56 | 53 68 61 64 65 64 20 6f |the cREV|Shaded o|
|00002c30| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 74 6f 20 |f this s|tack to |
|00002c40| 65 6d 70 74 79 0a 20 20 | 73 65 74 20 74 68 65 20 |empty. |set the |
|00002c50| 63 52 45 56 53 74 61 63 | 6b 4f 66 66 73 65 74 20 |cREVStac|kOffset |
|00002c60| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 20 74 6f |of this |stack to|
|00002c70| 20 65 6d 70 74 79 0a 20 | 20 73 65 74 20 74 68 65 | empty. | set the|
|00002c80| 20 63 52 45 56 4c 61 73 | 74 54 61 62 20 6f 66 20 | cREVLas|tTab of |
|00002c90| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 65 6d |this sta|ck to em|
|00002ca0| 70 74 79 0a 20 20 73 65 | 74 20 74 68 65 20 63 52 |pty. se|t the cR|
|00002cb0| 45 56 47 65 74 73 55 70 | 64 61 74 65 20 6f 66 20 |EVGetsUp|date of |
|00002cc0| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 66 61 |this sta|ck to fa|
|00002cd0| 6c 73 65 0a 20 20 69 66 | 20 74 68 65 20 68 69 6c |lse. if| the hil|
|00002ce0| 69 74 65 20 6f 66 20 62 | 74 6e 20 22 52 45 56 4c |ite of b|tn "REVL|
|00002cf0| 6f 63 6b 22 20 6f 66 20 | 62 67 20 22 72 65 76 42 |ock" of |bg "revB|
|00002d00| 61 63 6b 64 72 6f 70 22 | 20 74 68 65 6e 20 75 6e |ackdrop"| then un|
|00002d10| 68 69 6c 69 74 65 20 62 | 74 6e 20 22 52 45 56 4c |hilite b|tn "REVL|
|00002d20| 6f 63 6b 22 20 6f 66 20 | 62 67 20 22 72 65 76 42 |ock" of |bg "revB|
|00002d30| 61 63 6b 64 72 6f 70 22 | 0a 20 20 69 66 20 67 52 |ackdrop"|. if gR|
|00002d40| 45 56 50 61 6c 65 74 74 | 65 42 75 66 66 65 72 5b |EVPalett|eBuffer[|
|00002d50| 74 68 65 20 63 52 45 56 | 43 75 72 72 65 6e 74 54 |the cREV|CurrentT|
|00002d60| 61 62 73 20 6f 66 20 6d | 65 5d 20 69 73 20 65 6d |abs of m|e] is em|
|00002d70| 70 74 79 20 74 68 65 6e | 0a 20 20 20 20 70 75 74 |pty then|. put|
|00002d80| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00002d90| 6f 66 20 6d 65 20 69 6e | 74 6f 20 67 52 45 56 50 |of me in|to gREVP|
|00002da0| 61 6c 65 74 74 65 42 75 | 66 66 65 72 5b 74 68 65 |aletteBu|ffer[the|
|00002db0| 20 63 52 45 56 43 75 72 | 72 65 6e 74 54 61 62 73 | cREVCur|rentTabs|
|00002dc0| 20 6f 66 20 6d 65 5d 0a | 20 20 65 6c 73 65 0a 20 | of me].| else. |
|00002dd0| 20 20 20 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 | if th|e short |
|00002de0| 6e 61 6d 65 20 6f 66 20 | 6d 65 20 69 73 20 6e 6f |name of |me is no|
|00002df0| 74 20 61 6d 6f 6e 67 20 | 74 68 65 20 6c 69 6e 65 |t among |the line|
|00002e00| 73 20 6f 66 20 67 52 45 | 56 50 61 6c 65 74 74 65 |s of gRE|VPalette|
|00002e10| 42 75 66 66 65 72 5b 74 | 68 65 20 63 52 45 56 43 |Buffer[t|he cREVC|
|00002e20| 75 72 72 65 6e 74 54 61 | 62 73 20 6f 66 20 6d 65 |urrentTa|bs of me|
|00002e30| 5d 0a 20 20 20 20 74 68 | 65 6e 20 70 75 74 20 74 |]. th|en put t|
|00002e40| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00002e50| 20 6d 65 20 26 20 63 72 | 20 62 65 66 6f 72 65 20 | me & cr| before |
|00002e60| 67 52 45 56 50 61 6c 65 | 74 74 65 42 75 66 66 65 |gREVPale|tteBuffe|
|00002e70| 72 5b 74 68 65 20 63 52 | 45 56 43 75 72 72 65 6e |r[the cR|EVCurren|
|00002e80| 74 54 61 62 73 20 6f 66 | 20 6d 65 5d 0a 20 20 65 |tTabs of| me]. e|
|00002e90| 6e 64 20 69 66 0a 20 20 | 75 6e 6c 6f 63 6b 20 73 |nd if. |unlock s|
|00002ea0| 63 72 65 65 6e 0a 65 6e | 64 20 72 65 76 43 6c 6f |creen.en|d revClo|
|00002eb0| 73 65 53 74 61 63 6b 0a | 0a 6f 6e 20 63 6c 6f 73 |seStack.|.on clos|
|00002ec0| 65 53 74 61 63 6b 0a 20 | 20 67 6c 6f 62 61 6c 20 |eStack. | global |
|00002ed0| 67 52 45 56 50 61 6c 65 | 74 74 65 73 0a 20 20 2d |gREVPale|ttes. -|
|00002ee0| 2d 6f 6e 6c 79 20 64 6f | 20 72 65 76 43 6c 6f 73 |-only do| revClos|
|00002ef0| 65 53 74 61 63 6b 20 69 | 66 20 70 61 6c 65 74 74 |eStack i|f palett|
|00002f00| 65 73 20 61 72 65 20 62 | 65 69 6e 67 20 63 6c 6f |es are b|eing clo|
|00002f10| 73 65 64 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |sed rath|er than |
|00002f20| 68 69 64 64 65 6e 20 28 | 77 68 65 72 65 20 63 6c |hidden (|where cl|
|00002f30| 6f 73 65 73 74 61 63 6b | 20 69 73 20 61 6c 73 6f |osestack| is also|
|00002f40| 20 73 65 6e 74 29 0a 20 | 20 69 66 20 67 52 45 56 | sent). | if gREV|
|00002f50| 50 61 6c 65 74 74 65 73 | 20 69 73 20 65 6d 70 74 |Palettes| is empt|
|00002f60| 79 20 74 68 65 6e 20 72 | 65 76 43 6c 6f 73 65 53 |y then r|evCloseS|
|00002f70| 74 61 63 6b 0a 20 20 70 | 61 73 73 20 63 6c 6f 73 |tack. p|ass clos|
|00002f80| 65 53 74 61 63 6b 0a 65 | 6e 64 20 63 6c 6f 73 65 |eStack.e|nd close|
|00002f90| 53 74 61 63 6b 0a 0a 6f | 6e 20 52 45 56 44 65 6c |Stack..o|n REVDel|
|00002fa0| 65 74 65 50 72 6f 70 65 | 72 74 79 50 61 6c 65 74 |etePrope|rtyPalet|
|00002fb0| 74 65 43 61 72 64 20 74 | 68 65 4f 62 6a 65 63 74 |teCard t|heObject|
|00002fc0| 2c 20 74 68 65 50 61 6c | 65 74 74 65 2c 20 74 68 |, thePal|ette, th|
|00002fd0| 65 54 69 6d 65 0a 20 20 | 70 75 74 20 74 68 65 4f |eTime. |put theO|
|00002fe0| 62 6a 65 63 74 20 69 6e | 74 6f 20 6c 44 65 6c 65 |bject in|to lDele|
|00002ff0| 74 65 4f 62 6a 65 63 74 | 4e 61 6d 65 0a 20 20 70 |teObject|Name. p|
|00003000| 75 74 20 74 68 65 50 61 | 6c 65 74 74 65 20 69 6e |ut thePa|lette in|
|00003010| 74 6f 20 6c 44 65 6c 65 | 74 65 50 61 6c 65 74 74 |to lDele|tePalett|
|00003020| 65 4e 61 6d 65 0a 20 20 | 2d 2d 64 65 6c 65 74 65 |eName. |--delete|
|00003030| 73 20 61 20 70 72 6f 70 | 65 72 74 79 20 70 61 6c |s a prop|erty pal|
|00003040| 65 74 74 65 20 63 61 72 | 64 73 20 61 6e 64 20 61 |ette car|ds and a|
|00003050| 6c 6c 20 67 72 6f 75 70 | 73 20 73 70 65 63 69 66 |ll group|s specif|
|00003060| 69 63 20 74 6f 20 69 74 | 0a 20 20 70 75 74 20 74 |ic to it|. put t|
|00003070| 68 65 20 67 72 6f 75 70 | 4e 61 6d 65 73 20 6f 66 |he group|Names of|
|00003080| 20 63 61 72 64 20 6c 44 | 65 6c 65 74 65 4f 62 6a | card lD|eleteObj|
|00003090| 65 63 74 4e 61 6d 65 20 | 6f 66 20 73 74 61 63 6b |ectName |of stack|
|000030a0| 20 6c 44 65 6c 65 74 65 | 50 61 6c 65 74 74 65 4e | lDelete|PaletteN|
|000030b0| 61 6d 65 20 69 6e 74 6f | 20 74 47 72 6f 75 70 4e |ame into| tGroupN|
|000030c0| 61 6d 65 73 0a 20 20 69 | 66 20 74 68 65 54 69 6d |ames. i|f theTim|
|000030d0| 65 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0a |e is emp|ty then.|
|000030e0| 20 20 20 20 64 65 6c 65 | 74 65 20 63 61 72 64 20 | dele|te card |
|000030f0| 6c 44 65 6c 65 74 65 4f | 62 6a 65 63 74 4e 61 6d |lDeleteO|bjectNam|
|00003100| 65 20 6f 66 20 73 74 61 | 63 6b 20 6c 44 65 6c 65 |e of sta|ck lDele|
|00003110| 74 65 50 61 6c 65 74 74 | 65 4e 61 6d 65 0a 20 20 |tePalett|eName. |
|00003120| 20 20 64 65 6c 65 74 65 | 20 62 67 20 6c 44 65 6c | delete| bg lDel|
|00003130| 65 74 65 4f 62 6a 65 63 | 74 4e 61 6d 65 20 6f 66 |eteObjec|tName of|
|00003140| 20 73 74 61 63 6b 20 6c | 44 65 6c 65 74 65 50 61 | stack l|DeletePa|
|00003150| 6c 65 74 74 65 4e 61 6d | 65 0a 20 20 65 6c 73 65 |letteNam|e. else|
|00003160| 20 73 65 6e 64 20 22 52 | 45 56 44 65 6c 65 74 65 | send "R|EVDelete|
|00003170| 54 61 62 22 20 74 6f 20 | 6d 65 20 69 6e 20 74 68 |Tab" to |me in th|
|00003180| 65 54 69 6d 65 20 6d 69 | 6c 6c 69 73 65 63 6f 6e |eTime mi|llisecon|
|00003190| 64 73 0a 20 20 72 65 70 | 65 61 74 20 66 6f 72 20 |ds. rep|eat for |
|000031a0| 65 61 63 68 20 6c 69 6e | 65 20 6c 20 69 6e 20 74 |each lin|e l in t|
|000031b0| 47 72 6f 75 70 4e 61 6d | 65 73 0a 20 20 20 20 69 |GroupNam|es. i|
|000031c0| 66 20 6c 20 69 73 20 6e | 6f 74 20 61 6d 6f 6e 67 |f l is n|ot among|
|000031d0| 20 74 68 65 20 69 74 65 | 6d 73 20 6f 66 20 22 72 | the ite|ms of "r|
|000031e0| 65 76 42 61 63 6b 64 72 | 6f 70 2c 52 45 56 62 61 |evBackdr|op,REVba|
|000031f0| 73 69 63 2c 52 45 56 63 | 75 73 74 6f 6d 2c 52 45 |sic,REVc|ustom,RE|
|00003200| 56 73 63 72 69 70 74 2c | 52 45 56 63 6f 6c 6f 72 |Vscript,|REVcolor|
|00003210| 73 2c 52 45 56 74 65 78 | 74 2c 52 45 56 69 6e 6b |s,REVtex|t,REVink|
|00003220| 73 2c 52 45 56 62 75 74 | 74 6f 6e 2c 52 45 56 66 |s,REVbut|ton,REVf|
|00003230| 69 65 6c 64 2c 52 45 56 | 67 72 61 70 68 69 63 2c |ield,REV|graphic,|
|00003240| 52 45 56 73 63 72 6f 6c | 6c 62 61 72 2c 52 45 56 |REVscrol|lbar,REV|
|00003250| 69 6d 61 67 65 2c 52 45 | 56 61 75 64 69 6f 63 6c |image,RE|Vaudiocl|
|00003260| 69 70 2c 52 45 56 76 69 | 64 65 6f 63 6c 69 70 2c |ip,REVvi|deoclip,|
|00003270| 52 45 56 63 61 72 64 2c | 52 45 56 73 74 61 63 6b |REVcard,|REVstack|
|00003280| 2c 52 45 56 67 72 6f 75 | 70 2c 52 45 56 45 50 53 |,REVgrou|p,REVEPS|
|00003290| 2c 52 45 56 50 6c 61 79 | 65 72 22 0a 20 20 20 20 |,REVPlay|er". |
|000032a0| 74 68 65 6e 20 69 66 20 | 74 68 65 72 65 20 69 73 |then if |there is|
|000032b0| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 6c 20 6f 66 | backgro|und l of|
|000032c0| 20 73 74 61 63 6b 20 6c | 44 65 6c 65 74 65 50 61 | stack l|DeletePa|
|000032d0| 6c 65 74 74 65 4e 61 6d | 65 20 74 68 65 6e 20 64 |letteNam|e then d|
|000032e0| 65 6c 65 74 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |elete ba|ckground|
|000032f0| 20 6c 20 6f 66 20 73 74 | 61 63 6b 20 6c 44 65 6c | l of st|ack lDel|
|00003300| 65 74 65 50 61 6c 65 74 | 74 65 4e 61 6d 65 0a 20 |etePalet|teName. |
|00003310| 20 65 6e 64 20 72 65 70 | 65 61 74 0a 65 6e 64 20 | end rep|eat.end |
|00003320| 52 45 56 44 65 6c 65 74 | 65 50 72 6f 70 65 72 74 |REVDelet|ePropert|
|00003330| 79 50 61 6c 65 74 74 65 | 43 61 72 64 0a 0a 6f 6e |yPalette|Card..on|
|00003340| 20 52 45 56 44 65 6c 65 | 74 65 54 61 62 0a 20 20 | REVDele|teTab. |
|00003350| 6c 6f 63 6b 20 6d 65 73 | 73 61 67 65 73 0a 20 20 |lock mes|sages. |
|00003360| 2d 2d 64 65 6c 65 74 65 | 20 63 61 72 64 20 74 68 |--delete| card th|
|00003370| 65 6e 20 67 72 6f 75 70 | 20 74 6f 20 61 76 6f 69 |en group| to avoi|
|00003380| 64 20 69 6e 73 74 61 62 | 69 6c 69 74 79 0a 20 20 |d instab|ility. |
|00003390| 64 65 6c 65 74 65 20 63 | 61 72 64 20 6c 44 65 6c |delete c|ard lDel|
|000033a0| 65 74 65 4f 62 6a 65 63 | 74 4e 61 6d 65 20 6f 66 |eteObjec|tName of|
|000033b0| 20 73 74 61 63 6b 20 6c | 44 65 6c 65 74 65 50 61 | stack l|DeletePa|
|000033c0| 6c 65 74 74 65 4e 61 6d | 65 0a 20 20 64 65 6c 65 |letteNam|e. dele|
|000033d0| 74 65 20 62 67 20 6c 44 | 65 6c 65 74 65 4f 62 6a |te bg lD|eleteObj|
|000033e0| 65 63 74 4e 61 6d 65 20 | 6f 66 20 73 74 61 63 6b |ectName |of stack|
|000033f0| 20 6c 44 65 6c 65 74 65 | 50 61 6c 65 74 74 65 4e | lDelete|PaletteN|
|00003400| 61 6d 65 0a 20 20 75 6e | 6c 6f 63 6b 20 6d 65 73 |ame. un|lock mes|
|00003410| 73 61 67 65 73 0a 65 6e | 64 20 52 45 56 44 65 6c |sages.en|d REVDel|
|00003420| 65 74 65 54 61 62 0a 0a | 0a 6f 6e 20 52 45 56 55 |eteTab..|.on REVU|
|00003430| 70 64 61 74 65 54 61 62 | 73 0a 20 20 2d 2d 20 75 |pdateTab|s. -- u|
|00003440| 70 64 61 74 65 20 70 61 | 6c 65 74 74 65 20 77 68 |pdate pa|lette wh|
|00003450| 65 6e 20 74 68 65 20 73 | 65 6c 65 63 74 69 6f 6e |en the s|election|
|00003460| 20 63 68 61 6e 67 65 73 | 0a 20 20 67 6c 6f 62 61 | changes|. globa|
|00003470| 6c 20 67 52 45 56 54 61 | 62 73 4f 70 65 6e 42 65 |l gREVTa|bsOpenBe|
|00003480| 66 6f 72 65 4c 69 6e 6b | 69 6e 67 2c 20 67 52 45 |foreLink|ing, gRE|
|00003490| 56 50 72 6f 70 65 72 74 | 79 54 61 62 73 2c 20 67 |VPropert|yTabs, g|
|000034a0| 52 45 56 4f 70 65 6e 54 | 61 62 73 2c 20 67 52 45 |REVOpenT|abs, gRE|
|000034b0| 56 53 74 61 63 6b 73 4c | 69 73 74 2c 20 67 52 45 |VStacksL|ist, gRE|
|000034c0| 56 4c 69 6e 6b 65 64 4f | 62 6a 65 63 74 73 2c 20 |VLinkedO|bjects, |
|000034d0| 67 52 45 56 4f 62 6a 65 | 63 74 50 61 6c 65 74 74 |gREVObje|ctPalett|
|000034e0| 65 2c 20 67 52 45 56 44 | 6f 6e 74 52 65 73 69 7a |e, gREVD|ontResiz|
|000034f0| 65 2c 20 67 52 45 56 53 | 65 6c 65 63 74 69 6f 6e |e, gREVS|election|
|00003500| 44 65 73 63 72 69 70 74 | 69 6f 6e 2c 20 67 52 45 |Descript|ion, gRE|
|00003510| 56 54 61 62 50 6c 61 74 | 66 6f 72 6d 2c 20 67 52 |VTabPlat|form, gR|
|00003520| 45 56 42 75 69 6c 64 69 | 6e 67 50 61 6c 65 74 74 |EVBuildi|ngPalett|
|00003530| 65 45 78 65 6d 70 74 69 | 6f 6e 0a 20 20 63 6f 6e |eExempti|on. con|
|00003540| 73 74 61 6e 74 20 6b 4f | 62 6a 65 63 74 54 79 70 |stant kO|bjectTyp|
|00003550| 65 73 3d 22 62 75 74 74 | 6f 6e 2c 66 69 65 6c 64 |es="butt|on,field|
|00003560| 2c 67 72 61 70 68 69 63 | 2c 67 72 6f 75 70 2c 73 |,graphic|,group,s|
|00003570| 63 72 6f 6c 6c 62 61 72 | 2c 69 6d 61 67 65 2c 70 |crollbar|,image,p|
|00003580| 6c 61 79 65 72 2c 65 70 | 73 22 0a 20 20 6c 6f 63 |layer,ep|s". loc|
|00003590| 6b 20 73 63 72 65 65 6e | 0a 20 20 6c 6f 63 6b 20 |k screen|. lock |
|000035a0| 6d 65 73 73 61 67 65 73 | 0a 0a 20 20 69 66 20 74 |messages|.. if t|
|000035b0| 68 65 20 63 52 45 56 4c | 69 6e 6b 65 64 20 6f 66 |he cREVL|inked of|
|000035c0| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 68 65 6e | this st|ack then|
|000035d0| 0a 20 20 20 20 75 6e 6c | 6f 63 6b 20 73 63 72 65 |. unl|ock scre|
|000035e0| 65 6e 0a 20 20 20 20 65 | 78 69 74 20 52 45 56 55 |en. e|xit REVU|
|000035f0| 70 64 61 74 65 54 61 62 | 73 0a 20 20 65 6e 64 20 |pdateTab|s. end |
|00003600| 69 66 0a 0a 20 20 69 66 | 20 74 68 65 20 63 52 45 |if.. if| the cRE|
|00003610| 56 53 68 61 64 65 64 20 | 6f 66 20 74 68 69 73 20 |VShaded |of this |
|00003620| 73 74 61 63 6b 20 74 68 | 65 6e 0a 20 20 20 20 2d |stack th|en. -|
|00003630| 2d 20 69 66 20 74 68 65 | 20 70 61 6c 65 74 74 65 |- if the| palette|
|00003640| 20 69 73 20 22 73 68 61 | 64 65 64 22 20 74 68 65 | is "sha|ded" the|
|00003650| 6e 20 6f 6e 6c 79 20 75 | 70 64 61 74 65 20 74 68 |n only u|pdate th|
|00003660| 65 20 53 65 6c 65 63 74 | 69 6f 6e 20 44 65 73 63 |e Select|ion Desc|
|00003670| 72 69 70 74 69 6f 6e 20 | 66 6c 64 0a 20 20 20 20 |ription |fld. |
|00003680| 52 45 56 55 70 64 61 74 | 65 53 65 6c 65 63 74 69 |REVUpdat|eSelecti|
|00003690| 6f 6e 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 20 20 |onDescri|ption. |
|000036a0| 20 20 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0a | unlock| screen.|
|000036b0| 20 20 20 20 65 78 69 74 | 20 52 45 56 55 70 64 61 | exit| REVUpda|
|000036c0| 74 65 54 61 62 73 0a 20 | 20 65 6e 64 20 69 66 0a |teTabs. | end if.|
|000036d0| 0a 20 20 23 23 70 75 74 | 20 74 72 75 65 20 69 6e |. ##put| true in|
|000036e0| 74 6f 20 67 52 45 56 42 | 75 69 6c 64 69 6e 67 50 |to gREVB|uildingP|
|000036f0| 61 6c 65 74 74 65 45 78 | 65 6d 70 74 69 6f 6e 2d |aletteEx|emption-|
|00003700| 2d 77 6f 72 6b 61 72 6f | 75 6e 64 20 66 6f 72 20 |-workaro|und for |
|00003710| 70 72 65 4f 70 65 6e 43 | 61 72 64 20 62 65 69 6e |preOpenC|ard bein|
|00003720| 67 20 73 65 6e 74 20 72 | 65 67 61 72 64 6c 65 73 |g sent r|egardles|
|00003730| 73 20 6f 66 20 6c 6f 63 | 6b 65 64 20 6d 65 73 73 |s of loc|ked mess|
|00003740| 61 67 65 73 0a 20 20 70 | 75 74 20 74 72 75 65 20 |ages. p|ut true |
|00003750| 69 6e 74 6f 20 67 52 45 | 56 44 6f 6e 74 52 65 73 |into gRE|VDontRes|
|00003760| 69 7a 65 0a 20 20 70 75 | 74 20 65 6d 70 74 79 20 |ize. pu|t empty |
|00003770| 69 6e 74 6f 20 74 53 65 | 6c 65 63 74 65 64 4f 62 |into tSe|lectedOb|
|00003780| 6a 65 63 74 0a 20 20 70 | 75 74 20 74 68 65 20 73 |ject. p|ut the s|
|00003790| 65 6c 65 63 74 65 64 4f | 62 6a 65 63 74 20 69 6e |electedO|bject in|
|000037a0| 74 6f 20 74 53 65 6c 65 | 63 74 65 64 4f 62 6a 65 |to tSele|ctedObje|
|000037b0| 63 74 0a 20 20 70 75 74 | 20 74 68 65 20 63 52 45 |ct. put| the cRE|
|000037c0| 56 43 75 72 72 65 6e 74 | 54 61 62 73 20 6f 66 20 |VCurrent|Tabs of |
|000037d0| 74 68 69 73 20 73 74 61 | 63 6b 20 69 6e 74 6f 20 |this sta|ck into |
|000037e0| 74 43 75 72 72 65 6e 74 | 54 61 62 73 0a 0a 0a 20 |tCurrent|Tabs... |
|000037f0| 20 69 66 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 | if the |short na|
|00003800| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |me of th|is cd is|
|00003810| 20 22 72 65 76 53 63 72 | 69 70 74 22 20 61 6e 64 | "revScr|ipt" and|
|00003820| 20 74 53 65 6c 65 63 74 | 65 64 4f 62 6a 65 63 74 | tSelect|edObject|
|00003830| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 73 | is empt|y then s|
|00003840| 65 6e 64 20 22 72 65 76 | 43 6c 6f 73 65 54 61 62 |end "rev|CloseTab|
|00003850| 22 20 74 6f 20 74 68 69 | 73 20 63 64 0a 20 20 70 |" to thi|s cd. p|
|00003860| 75 74 20 67 52 45 56 54 | 61 62 73 4f 70 65 6e 42 |ut gREVT|absOpenB|
|00003870| 65 66 6f 72 65 4c 69 6e | 6b 69 6e 67 20 69 6e 74 |eforeLin|king int|
|00003880| 6f 20 74 54 61 62 73 4f | 70 65 6e 42 65 66 6f 72 |o tTabsO|penBefor|
|00003890| 65 4c 69 6e 6b 69 6e 67 | 0a 20 20 2d 2d 69 66 20 |eLinking|. --if |
|000038a0| 74 68 65 20 70 61 6c 65 | 74 74 65 20 68 61 73 20 |the pale|tte has |
|000038b0| 62 65 65 6e 20 69 6e 20 | 65 64 69 74 20 70 61 69 |been in |edit pai|
|000038c0| 6e 74 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 6d |nt envir|onment m|
|000038d0| 6f 64 65 2c 20 62 75 74 | 20 74 68 65 72 65 20 69 |ode, but| there i|
|000038e0| 73 20 6e 6f 77 20 61 20 | 73 65 6c 65 63 74 69 6f |s now a |selectio|
|000038f0| 6e 2c 20 70 6c 61 63 65 | 20 74 61 62 20 67 72 6f |n, place| tab gro|
|00003900| 75 70 73 0a 20 20 69 66 | 20 74 68 65 20 63 52 45 |ups. if| the cRE|
|00003910| 56 45 64 69 74 69 6e 67 | 50 61 69 6e 74 45 6e 76 |VEditing|PaintEnv|
|00003920| 69 72 6f 6e 6d 65 6e 74 | 20 6f 66 20 74 68 69 73 |ironment| of this|
|00003930| 20 73 74 61 63 6b 20 61 | 6e 64 20 74 53 65 6c 65 | stack a|nd tSele|
|00003940| 63 74 65 64 4f 62 6a 65 | 63 74 20 69 73 20 6e 6f |ctedObje|ct is no|
|00003950| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 52 45 56 |t empty |then REV|
|00003960| 45 64 69 74 4f 62 6a 65 | 63 74 73 0a 0a 20 20 69 |EditObje|cts.. i|
|00003970| 66 20 74 53 65 6c 65 63 | 74 65 64 4f 62 6a 65 63 |f tSelec|tedObjec|
|00003980| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 61 |t is not| empty a|
|00003990| 6e 64 20 77 6f 72 64 20 | 31 20 6f 66 20 74 53 65 |nd word |1 of tSe|
|000039a0| 6c 65 63 74 65 64 4f 62 | 6a 65 63 74 20 69 73 20 |lectedOb|ject is |
|000039b0| 6e 6f 74 20 22 74 68 65 | 22 0a 20 20 74 68 65 6e |not "the|". then|
|000039c0| 20 70 75 74 20 74 68 65 | 20 68 63 41 64 64 72 65 | put the| hcAddre|
|000039d0| 73 73 69 6e 67 20 6f 66 | 20 73 74 61 63 6b 20 72 |ssing of| stack r|
|000039e0| 65 76 54 61 72 67 65 74 | 53 74 61 63 6b 28 6c 69 |evTarget|Stack(li|
|000039f0| 6e 65 20 31 20 6f 66 20 | 74 53 65 6c 65 63 74 65 |ne 1 of |tSelecte|
|00003a00| 64 4f 62 6a 65 63 74 29 | 20 69 6e 74 6f 20 74 48 |dObject)| into tH|
|00003a10| 43 41 64 64 72 65 73 73 | 69 6e 67 0a 20 20 69 66 |CAddress|ing. if|
|00003a20| 20 74 54 61 62 73 4f 70 | 65 6e 42 65 66 6f 72 65 | tTabsOp|enBefore|
|00003a30| 4c 69 6e 6b 69 6e 67 20 | 69 73 20 6e 6f 74 20 65 |Linking |is not e|
|00003a40| 6d 70 74 79 20 61 6e 64 | 20 74 68 65 20 63 52 45 |mpty and| the cRE|
|00003a50| 56 43 75 72 72 65 6e 74 | 54 61 62 73 20 6f 66 20 |VCurrent|Tabs of |
|00003a60| 74 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 65 6d |this sta|ck is em|
|00003a70| 70 74 79 20 74 68 65 6e | 0a 20 20 20 20 2d 2d 20 |pty then|. -- |
|00003a80| 74 68 69 73 20 70 61 6c | 65 74 74 65 20 73 68 6f |this pal|ette sho|
|00003a90| 75 6c 64 20 61 64 6f 70 | 74 20 74 61 62 73 20 66 |uld adop|t tabs f|
|00003aa0| 72 6f 6d 20 74 68 65 20 | 70 61 6c 65 74 74 65 20 |rom the |palette |
|00003ab0| 77 68 69 63 68 20 68 61 | 73 20 6a 75 73 74 20 62 |which ha|s just b|
|00003ac0| 65 65 6e 20 6c 69 6e 6b | 65 64 0a 20 20 20 20 72 |een link|ed. r|
|00003ad0| 65 70 65 61 74 20 66 6f | 72 20 65 61 63 68 20 69 |epeat fo|r each i|
|00003ae0| 74 65 6d 20 69 20 69 6e | 20 74 54 61 62 73 4f 70 |tem i in| tTabsOp|
|00003af0| 65 6e 42 65 66 6f 72 65 | 4c 69 6e 6b 69 6e 67 0a |enBefore|Linking.|
|00003b00| 20 20 20 20 20 20 2d 2d | 63 68 61 6e 67 65 20 6f | --|change o|
|00003b10| 62 6a 65 63 74 20 74 61 | 62 20 74 6f 20 63 75 72 |bject ta|b to cur|
|00003b20| 72 65 6e 74 20 6f 62 6a | 65 63 74 20 28 6f 72 20 |rent obj|ect (or |
|00003b30| 6e 6f 6e 65 29 20 69 6e | 20 73 65 6c 65 63 74 69 |none) in| selecti|
|00003b40| 6f 6e 0a 20 20 20 20 20 | 20 69 66 20 69 20 69 73 |on. | if i is|
|00003b50| 20 69 6e 20 22 52 45 56 | 62 75 74 74 6f 6e 2c 52 | in "REV|button,R|
|00003b60| 45 56 66 69 65 6c 64 2c | 52 45 56 63 61 72 64 2c |EVfield,|REVcard,|
|00003b70| 52 45 56 73 74 61 63 6b | 2c 52 45 56 67 72 61 70 |REVstack|,REVgrap|
|00003b80| 68 69 63 2c 52 45 56 67 | 72 6f 75 70 2c 52 45 56 |hic,REVg|roup,REV|
|00003b90| 73 63 72 6f 6c 6c 62 61 | 72 2c 52 45 56 69 6d 61 |scrollba|r,REVima|
|00003ba0| 67 65 2c 52 45 56 61 75 | 64 69 6f 63 6c 69 70 2c |ge,REVau|dioclip,|
|00003bb0| 52 45 56 76 69 64 65 6f | 63 6c 69 70 2c 52 45 56 |REVvideo|clip,REV|
|00003bc0| 45 50 53 2c 52 45 56 50 | 6c 61 79 65 72 22 20 74 |EPS,REVP|layer" t|
|00003bd0| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 69 66 20 74 |hen. | if t|
|00003be0| 68 65 20 6e 75 6d 20 6f | 66 20 6c 69 6e 65 73 20 |he num o|f lines |
|00003bf0| 69 6e 20 74 53 65 6c 65 | 63 74 65 64 4f 62 6a 65 |in tSele|ctedObje|
|00003c00| 63 74 20 3e 20 31 20 6f | 72 20 74 68 65 20 6e 75 |ct > 1 o|r the nu|
|00003c10| 6d 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 74 53 |m of lin|es in tS|
|00003c20| 65 6c 65 63 74 65 64 4f | 62 6a 65 63 74 20 69 73 |electedO|bject is|
|00003c30| 20 30 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 69 | 0 then |delete i|
|00003c40| 74 65 6d 20 69 74 65 6d | 4f 66 66 73 65 74 28 69 |tem item|Offset(i|
|00003c50| 2c 74 54 61 62 73 4f 70 | 65 6e 42 65 66 6f 72 65 |,tTabsOp|enBefore|
|00003c60| 4c 69 6e 6b 69 6e 67 29 | 20 6f 66 20 74 54 61 62 |Linking)| of tTab|
|00003c70| 73 4f 70 65 6e 42 65 66 | 6f 72 65 4c 69 6e 6b 69 |sOpenBef|oreLinki|
|00003c80| 6e 67 0a 20 20 20 20 20 | 20 20 20 65 6c 73 65 0a |ng. | else.|
|00003c90| 20 20 20 20 20 20 20 20 | 20 20 2d 2d 69 66 20 68 | | --if h|
|00003ca0| 63 41 64 64 72 65 73 73 | 69 6e 67 20 69 73 20 74 |cAddress|ing is t|
|00003cb0| 72 75 65 20 66 6f 72 20 | 74 68 65 20 6f 77 6e 65 |rue for |the owne|
|00003cc0| 72 20 73 74 61 63 6b 2c | 20 61 6e 64 20 61 20 63 |r stack,| and a c|
|00003cd0| 6f 6e 74 72 6f 6c 20 69 | 73 20 73 65 6c 65 63 74 |ontrol i|s select|
|00003ce0| 65 64 2c 20 77 6f 72 64 | 20 32 20 6f 66 20 74 68 |ed, word| 2 of th|
|00003cf0| 65 20 69 64 20 67 69 76 | 65 73 20 74 68 65 20 6f |e id giv|es the o|
|00003d00| 62 6a 65 63 74 20 74 79 | 70 65 0a 20 20 20 20 20 |bject ty|pe. |
|00003d10| 20 20 20 20 20 69 66 20 | 74 48 43 41 64 64 72 65 | if |tHCAddre|
|00003d20| 73 73 69 6e 67 20 61 6e | 64 20 77 6f 72 64 20 32 |ssing an|d word 2|
|00003d30| 20 6f 66 20 74 53 65 6c | 65 63 74 65 64 4f 62 6a | of tSel|ectedObj|
|00003d40| 65 63 74 20 69 73 20 61 | 6d 6f 6e 67 20 74 68 65 |ect is a|mong the|
|00003d50| 20 69 74 65 6d 73 20 6f | 66 20 6b 4f 62 6a 65 63 | items o|f kObjec|
|00003d60| 74 54 79 70 65 73 0a 20 | 20 20 20 20 20 20 20 20 |tTypes. | |
|00003d70| 20 74 68 65 6e 20 70 75 | 74 20 22 52 45 56 22 20 | then pu|t "REV" |
|00003d80| 26 20 77 6f 72 64 20 32 | 20 6f 66 20 74 53 65 6c |& word 2| of tSel|
|00003d90| 65 63 74 65 64 4f 62 6a | 65 63 74 20 69 6e 74 6f |ectedObj|ect into|
|00003da0| 20 74 4e 65 77 4f 62 6a | 65 63 74 54 61 62 0a 20 | tNewObj|ectTab. |
|00003db0| 20 20 20 20 20 20 20 20 | 20 65 6c 73 65 20 70 75 | | else pu|
|00003dc0| 74 20 22 52 45 56 22 20 | 26 20 77 6f 72 64 20 31 |t "REV" |& word 1|
|00003dd0| 20 6f 66 20 74 53 65 6c | 65 63 74 65 64 4f 62 6a | of tSel|ectedObj|
|00003de0| 65 63 74 20 69 6e 74 6f | 20 74 4e 65 77 4f 62 6a |ect into| tNewObj|
|00003df0| 65 63 74 54 61 62 0a 20 | 20 20 20 20 0a 20 20 20 |ectTab. | . |
|00003e00| 20 20 20 20 20 20 20 72 | 65 70 6c 61 63 65 20 69 | r|eplace i|
|00003e10| 20 77 69 74 68 20 74 4e | 65 77 4f 62 6a 65 63 74 | with tN|ewObject|
|00003e20| 54 61 62 20 69 6e 20 74 | 54 61 62 73 4f 70 65 6e |Tab in t|TabsOpen|
|00003e30| 42 65 66 6f 72 65 4c 69 | 6e 6b 69 6e 67 0a 20 20 |BeforeLi|nking. |
|00003e40| 20 20 20 20 20 20 20 20 | 70 75 74 20 74 68 65 20 | |put the |
|00003e50| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00003e60| 69 73 20 73 74 61 63 6b | 20 69 6e 74 6f 20 67 52 |is stack| into gR|
|00003e70| 45 56 4f 62 6a 65 63 74 | 50 61 6c 65 74 74 65 0a |EVObject|Palette.|
|00003e80| 20 20 20 20 20 20 20 20 | 65 6e 64 20 69 66 0a 20 | |end if. |
|00003e90| 20 20 20 20 20 20 20 65 | 78 69 74 20 72 65 70 65 | e|xit repe|
|00003ea0| 61 74 0a 20 20 20 20 20 | 20 65 6e 64 20 69 66 0a |at. | end if.|
|00003eb0| 20 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0a 20 | end |repeat. |
|00003ec0| 20 20 20 70 75 74 20 74 | 54 61 62 73 4f 70 65 6e | put t|TabsOpen|
|00003ed0| 42 65 66 6f 72 65 4c 69 | 6e 6b 69 6e 67 20 69 6e |BeforeLi|nking in|
|00003ee0| 74 6f 20 67 52 45 56 50 | 72 6f 70 65 72 74 79 54 |to gREVP|ropertyT|
|00003ef0| 61 62 73 2d 2d 20 73 65 | 74 20 74 68 65 20 74 61 |abs-- se|t the ta|
|00003f00| 62 73 20 74 6f 20 62 65 | 20 74 72 61 6e 73 66 65 |bs to be| transfe|
|00003f10| 72 72 65 64 0a 20 20 20 | 20 69 66 20 74 53 65 6c |rred. | if tSel|
|00003f20| 65 63 74 65 64 4f 62 6a | 65 63 74 20 69 73 20 6e |ectedObj|ect is n|
|00003f30| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00003f40| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 52 45 |t empty |into gRE|
|00003f50| 56 54 61 62 73 4f 70 65 | 6e 42 65 66 6f 72 65 4c |VTabsOpe|nBeforeL|
|00003f60| 69 6e 6b 69 6e 67 0a 20 | 20 20 20 2d 2d 72 65 73 |inking. | --res|
|00003f70| 65 74 20 74 61 62 73 20 | 74 6f 20 62 65 20 74 72 |et tabs |to be tr|
|00003f80| 61 6e 73 66 65 72 72 65 | 64 20 6f 6e 6c 79 20 69 |ansferre|d only i|
|00003f90| 66 20 74 68 65 79 20 77 | 69 6c 6c 20 62 65 20 61 |f they w|ill be a|
|00003fa0| 64 64 65 64 20 74 6f 20 | 61 20 70 61 6c 65 74 74 |dded to |a palett|
|00003fb0| 65 0a 0a 20 20 20 20 52 | 45 56 41 64 64 4d 69 73 |e.. R|EVAddMis|
|00003fc0| 73 69 6e 67 54 61 62 73 | 2d 2d 20 63 72 65 61 74 |singTabs|-- creat|
|00003fd0| 65 20 6e 65 77 20 74 61 | 62 73 0a 0a 20 20 20 20 |e new ta|bs.. |
|00003fe0| 2d 2d 67 6f 20 74 6f 20 | 74 68 65 20 66 69 72 73 |--go to |the firs|
|00003ff0| 74 20 74 61 62 20 6f 66 | 20 74 68 69 73 20 70 61 |t tab of| this pa|
|00004000| 6c 65 74 74 65 0a 20 20 | 20 20 69 66 20 74 68 65 |lette. | if the|
|00004010| 20 63 52 45 56 43 75 72 | 72 65 6e 74 54 61 62 73 | cREVCur|rentTabs|
|00004020| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00004030| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004040| 0a 20 20 20 20 20 20 70 | 75 74 20 69 74 65 6d 20 |. p|ut item |
|00004050| 31 20 6f 66 20 74 68 65 | 20 63 52 45 56 43 75 72 |1 of the| cREVCur|
|00004060| 72 65 6e 74 54 61 62 73 | 20 6f 66 20 74 68 69 73 |rentTabs| of this|
|00004070| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 74 46 69 72 | stack i|nto tFir|
|00004080| 73 74 54 61 62 0a 20 20 | 20 20 20 20 2d 2d 70 75 |stTab. | --pu|
|00004090| 74 20 74 46 69 72 73 74 | 54 61 62 0a 20 20 20 20 |t tFirst|Tab. |
|000040a0| 20 20 67 6f 20 63 64 20 | 74 46 69 72 73 74 54 61 | go cd |tFirstTa|
|000040b0| 62 0a 20 20 20 20 20 20 | 73 65 74 20 74 68 65 20 |b. |set the |
|000040c0| 69 63 6f 6e 20 6f 66 20 | 62 74 6e 20 74 46 69 72 |icon of |btn tFir|
|000040d0| 73 74 54 61 62 20 74 6f | 20 74 68 65 20 63 52 45 |stTab to| the cRE|
|000040e0| 56 48 69 6c 69 74 65 49 | 63 6f 6e 5b 67 52 45 56 |VHiliteI|con[gREV|
|000040f0| 54 61 62 50 6c 61 74 66 | 6f 72 6d 5d 20 6f 66 20 |TabPlatf|orm] of |
|00004100| 62 74 6e 20 74 46 69 72 | 73 74 54 61 62 0a 20 20 |btn tFir|stTab. |
|00004110| 20 20 20 20 73 65 74 20 | 74 68 65 20 6c 61 79 65 | set |the laye|
|00004120| 72 20 6f 66 20 67 72 70 | 20 74 46 69 72 73 74 54 |r of grp| tFirstT|
|00004130| 61 62 20 74 6f 20 22 74 | 6f 70 22 0a 20 20 20 20 |ab to "t|op". |
|00004140| 20 20 52 45 56 53 65 74 | 52 65 63 74 0a 20 20 20 | REVSet|Rect. |
|00004150| 20 65 6e 64 20 69 66 0a | 20 20 20 20 52 45 56 4c | end if.| REVL|
|00004160| 69 73 74 4f 70 65 6e 54 | 61 62 73 0a 20 20 20 20 |istOpenT|abs. |
|00004170| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 67 |put fals|e into g|
|00004180| 52 45 56 44 6f 6e 74 52 | 65 73 69 7a 65 0a 0a 20 |REVDontR|esize.. |
|00004190| 20 20 20 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e | unloc|k screen|
|000041a0| 0a 20 20 20 20 65 78 69 | 74 20 52 45 56 55 70 64 |. exi|t REVUpd|
|000041b0| 61 74 65 54 61 62 73 0a | 20 20 65 6e 64 20 69 66 |ateTabs.| end if|
|000041c0| 0a 0a 20 20 70 75 74 20 | 65 6d 70 74 79 20 69 6e |.. put |empty in|
|000041d0| 74 6f 20 74 4f 62 6a 65 | 63 74 0a 20 20 70 75 74 |to tObje|ct. put|
|000041e0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 4c 69 6e | empty i|nto tLin|
|000041f0| 6b 65 64 54 61 62 73 0a | 20 20 72 65 70 65 61 74 |kedTabs.| repeat|
|00004200| 20 66 6f 72 20 65 61 63 | 68 20 6c 69 6e 65 20 6c | for eac|h line l|
|00004210| 20 69 6e 20 74 53 65 6c | 65 63 74 65 64 4f 62 6a | in tSel|ectedObj|
|00004220| 65 63 74 2d 2d 20 6c 69 | 73 74 20 6f 66 20 6f 62 |ect-- li|st of ob|
|00004230| 6a 65 63 74 20 74 79 70 | 65 73 2c 20 61 6e 64 20 |ject typ|es, and |
|00004240| 6c 69 6e 6b 65 64 2f 75 | 6e 6c 69 6e 6b 65 64 20 |linked/u|nlinked |
|00004250| 6e 61 74 75 72 65 20 6f | 66 20 73 65 6c 65 63 74 |nature o|f select|
|00004260| 65 64 20 6f 62 6a 65 63 | 74 73 0a 20 20 20 20 69 |ed objec|ts. i|
|00004270| 66 20 74 48 43 41 64 64 | 72 65 73 73 69 6e 67 20 |f tHCAdd|ressing |
|00004280| 61 6e 64 20 77 6f 72 64 | 20 32 20 6f 66 20 6c 20 |and word| 2 of l |
|00004290| 69 73 20 61 6d 6f 6e 67 | 20 74 68 65 20 69 74 65 |is among| the ite|
|000042a0| 6d 73 20 6f 66 20 6b 4f | 62 6a 65 63 74 54 79 70 |ms of kO|bjectTyp|
|000042b0| 65 73 0a 20 20 20 20 74 | 68 65 6e 20 70 75 74 20 |es. t|hen put |
|000042c0| 77 6f 72 64 20 32 20 6f | 66 20 6c 20 69 6e 74 6f |word 2 o|f l into|
|000042d0| 20 74 53 77 69 74 63 68 | 4f 62 6a 65 63 74 0a 20 | tSwitch|Object. |
|000042e0| 20 20 20 65 6c 73 65 20 | 70 75 74 20 77 6f 72 64 | else |put word|
|000042f0| 20 31 20 6f 66 20 6c 20 | 69 6e 74 6f 20 74 53 77 | 1 of l |into tSw|
|00004300| 69 74 63 68 4f 62 6a 65 | 63 74 0a 20 20 20 20 73 |itchObje|ct. s|
|00004310| 77 69 74 63 68 0a 20 20 | 20 20 63 61 73 65 20 77 |witch. | case w|
|00004320| 6f 72 64 20 31 20 6f 66 | 20 6c 20 69 73 20 22 74 |ord 1 of| l is "t|
|00004330| 68 65 22 0a 20 20 20 20 | 20 20 2d 2d 74 65 6d 70 |he". | --temp|
|00004340| 6c 61 74 65 4f 62 6a 65 | 63 74 20 73 65 6c 65 63 |lateObje|ct selec|
|00004350| 74 65 64 0a 20 20 20 20 | 20 20 70 75 74 20 63 68 |ted. | put ch|
|00004360| 61 72 20 39 20 74 6f 20 | 2d 31 20 6f 66 20 77 6f |ar 9 to |-1 of wo|
|00004370| 72 64 20 32 20 6f 66 20 | 6c 20 69 6e 74 6f 20 74 |rd 2 of |l into t|
|00004380| 54 68 65 4f 62 6a 65 63 | 74 0a 20 20 20 20 20 20 |TheObjec|t. |
|00004390| 72 65 70 6c 61 63 65 20 | 22 62 6b 67 6e 64 22 20 |replace |"bkgnd" |
|000043a0| 77 69 74 68 20 22 67 72 | 6f 75 70 22 20 69 6e 20 |with "gr|oup" in |
|000043b0| 74 54 68 65 4f 62 6a 65 | 63 74 0a 20 20 20 20 20 |tTheObje|ct. |
|000043c0| 20 62 72 65 61 6b 0a 20 | 20 20 20 63 61 73 65 20 | break. | case |
|000043d0| 74 53 77 69 74 63 68 4f | 62 6a 65 63 74 20 69 73 |tSwitchO|bject is|
|000043e0| 20 22 62 6b 67 6e 64 22 | 0a 20 20 20 20 20 20 2d | "bkgnd"|. -|
|000043f0| 2d 63 68 61 6e 67 65 20 | 77 6f 72 64 69 6e 67 20 |-change |wording |
|00004400| 66 72 6f 6d 20 22 62 6b | 67 6e 64 22 20 74 6f 20 |from "bk|gnd" to |
|00004410| 22 67 72 6f 75 70 22 20 | 66 6f 72 20 63 6f 6d 70 |"group" |for comp|
|00004420| 61 74 69 62 69 6c 69 74 | 79 20 77 69 74 68 20 74 |atibilit|y with t|
|00004430| 61 62 20 6e 61 6d 65 0a | 20 20 20 20 20 20 70 75 |ab name.| pu|
|00004440| 74 20 22 67 72 6f 75 70 | 22 20 69 6e 74 6f 20 74 |t "group|" into t|
|00004450| 54 68 65 4f 62 6a 65 63 | 74 0a 20 20 20 20 20 20 |TheObjec|t. |
|00004460| 62 72 65 61 6b 0a 20 20 | 20 20 64 65 66 61 75 6c |break. | defaul|
|00004470| 74 0a 20 20 20 20 20 20 | 70 75 74 20 74 53 77 69 |t. |put tSwi|
|00004480| 74 63 68 4f 62 6a 65 63 | 74 20 69 6e 74 6f 20 74 |tchObjec|t into t|
|00004490| 54 68 65 4f 62 6a 65 63 | 74 0a 20 20 20 20 20 20 |TheObjec|t. |
|000044a0| 62 72 65 61 6b 0a 20 20 | 20 20 65 6e 64 20 73 77 |break. | end sw|
|000044b0| 69 74 63 68 0a 0a 20 20 | 20 20 69 66 20 74 54 68 |itch.. | if tTh|
|000044c0| 65 4f 62 6a 65 63 74 20 | 69 73 20 6e 6f 74 20 69 |eObject |is not i|
|000044d0| 6e 20 74 4f 62 6a 65 63 | 74 20 74 68 65 6e 20 70 |n tObjec|t then p|
|000044e0| 75 74 20 22 52 45 56 22 | 20 26 20 74 54 68 65 4f |ut "REV"| & tTheO|
|000044f0| 62 6a 65 63 74 20 26 20 | 63 6f 6d 6d 61 20 61 66 |bject & |comma af|
|00004500| 74 65 72 20 74 4f 62 6a | 65 63 74 0a 0a 20 20 20 |ter tObj|ect.. |
|00004510| 20 70 75 74 20 67 52 45 | 56 4c 69 6e 6b 65 64 4f | put gRE|VLinkedO|
|00004520| 62 6a 65 63 74 73 20 69 | 6e 74 6f 20 74 4c 69 6e |bjects i|nto tLin|
|00004530| 6b 65 64 4f 62 6a 65 63 | 74 73 4c 69 73 74 0a 20 |kedObjec|tsList. |
|00004540| 20 20 20 69 66 20 6c 20 | 69 73 20 61 6d 6f 6e 67 | if l |is among|
|00004550| 20 74 68 65 20 6c 69 6e | 65 73 20 6f 66 20 74 4c | the lin|es of tL|
|00004560| 69 6e 6b 65 64 4f 62 6a | 65 63 74 73 4c 69 73 74 |inkedObj|ectsList|
|00004570| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 70 75 74 20 | then. | put |
|00004580| 66 61 6c 73 65 20 69 6e | 74 6f 20 74 4f 62 6a 65 |false in|to tObje|
|00004590| 63 74 4c 69 6e 6b 65 64 | 0a 20 20 20 20 20 20 67 |ctLinked|. g|
|000045a0| 65 74 20 72 65 76 4c 69 | 6e 6b 65 64 50 61 6c 65 |et revLi|nkedPale|
|000045b0| 74 74 65 73 4c 69 73 74 | 28 6c 29 0a 20 20 20 20 |ttesList|(l). |
|000045c0| 20 20 72 65 70 65 61 74 | 20 66 6f 72 20 65 61 63 | repeat| for eac|
|000045d0| 68 20 6c 69 6e 65 20 6d | 20 69 6e 20 69 74 0a 20 |h line m| in it. |
|000045e0| 20 20 20 20 20 20 20 69 | 66 20 74 68 65 72 65 20 | i|f there |
|000045f0| 69 73 20 61 20 73 74 61 | 63 6b 20 6d 20 74 68 65 |is a sta|ck m the|
|00004600| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 70 75 74 20 |n. | put |
|00004610| 74 72 75 65 20 69 6e 74 | 6f 20 74 4f 62 6a 65 63 |true int|o tObjec|
|00004620| 74 4c 69 6e 6b 65 64 0a | 20 20 20 20 20 20 20 20 |tLinked.| |
|00004630| 20 20 2d 2d 63 68 65 63 | 6b 20 69 6e 20 63 61 73 | --chec|k in cas|
|00004640| 65 20 73 74 61 63 6b 20 | 68 61 73 20 62 65 65 6e |e stack |has been|
|00004650| 20 64 65 6c 65 74 65 64 | 20 62 79 20 65 78 74 72 | deleted| by extr|
|00004660| 61 6f 72 64 69 6e 61 72 | 79 20 6d 65 74 68 6f 64 |aordinar|y method|
|00004670| 73 0a 20 20 20 20 20 20 | 20 20 20 20 70 75 74 20 |s. | put |
|00004680| 74 68 65 20 63 52 45 56 | 43 75 72 72 65 6e 74 54 |the cREV|CurrentT|
|00004690| 61 62 73 20 6f 66 20 73 | 74 61 63 6b 20 6d 20 26 |abs of s|tack m &|
|000046a0| 20 63 6f 6d 6d 61 20 61 | 66 74 65 72 20 74 4c 69 | comma a|fter tLi|
|000046b0| 6e 6b 65 64 54 61 62 73 | 0a 20 20 20 20 20 20 20 |nkedTabs|. |
|000046c0| 20 20 20 69 66 20 74 68 | 65 20 63 52 45 56 57 61 | if th|e cREVWa|
|000046d0| 73 4f 62 6a 65 63 74 50 | 61 6c 65 74 74 65 20 6f |sObjectP|alette o|
|000046e0| 66 20 73 74 61 63 6b 20 | 6d 20 74 68 65 6e 0a 20 |f stack |m then. |
|000046f0| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 74 20 74 | | put t|
|00004700| 72 75 65 20 69 6e 74 6f | 20 74 4c 69 6e 6b 65 64 |rue into| tLinked|
|00004710| 50 61 6c 65 74 74 65 57 | 69 74 68 4f 62 6a 65 63 |PaletteW|ithObjec|
|00004720| 74 54 61 62 0a 20 20 20 | 20 20 20 20 20 20 20 65 |tTab. | e|
|00004730| 6e 64 20 69 66 0a 20 20 | 20 20 20 20 20 20 65 6e |nd if. | en|
|00004740| 64 20 69 66 0a 20 20 20 | 20 20 20 65 6e 64 20 72 |d if. | end r|
|00004750| 65 70 65 61 74 0a 20 20 | 20 20 20 20 69 66 20 6e |epeat. | if n|
|00004760| 6f 74 20 74 4f 62 6a 65 | 63 74 4c 69 6e 6b 65 64 |ot tObje|ctLinked|
|00004770| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 2d 2d | then. | --|
|00004780| 74 75 72 6e 73 20 6f 75 | 74 20 61 6c 6c 20 70 61 |turns ou|t all pa|
|00004790| 6c 65 74 74 65 73 20 6f | 62 6a 65 63 74 20 73 75 |lettes o|bject su|
|000047a0| 70 70 6f 73 65 64 20 74 | 6f 20 62 65 20 6c 69 6e |pposed t|o be lin|
|000047b0| 6b 65 64 20 74 6f 20 64 | 6f 6e 27 74 20 65 78 69 |ked to d|on't exi|
|000047c0| 73 74 0a 20 20 20 20 20 | 20 20 20 2d 2d 72 65 6d |st. | --rem|
|000047d0| 6f 76 65 20 6f 62 6a 65 | 63 74 20 66 72 6f 6d 20 |ove obje|ct from |
|000047e0| 6c 69 6e 6b 65 64 20 70 | 61 6c 65 74 74 65 73 20 |linked p|alettes |
|000047f0| 6c 69 73 74 69 6e 67 73 | 0a 20 20 20 20 20 20 20 |listings|. |
|00004800| 20 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 6c 69 6e | delete |line lin|
|00004810| 65 4f 66 66 73 65 74 28 | 6c 2c 20 67 52 45 56 4c |eOffset(|l, gREVL|
|00004820| 69 6e 6b 65 64 4f 62 6a | 65 63 74 73 29 20 6f 66 |inkedObj|ects) of|
|00004830| 20 67 52 45 56 4c 69 6e | 6b 65 64 4f 62 6a 65 63 | gREVLin|kedObjec|
|00004840| 74 73 0a 20 20 20 20 20 | 20 20 20 70 75 74 20 74 |ts. | put t|
|00004850| 72 75 65 20 69 6e 74 6f | 20 74 55 6e 6c 69 6e 6b |rue into| tUnlink|
|00004860| 65 64 4f 62 6a 65 63 74 | 73 0a 20 20 20 20 20 20 |edObject|s. |
|00004870| 65 6e 64 20 69 66 0a 20 | 20 20 20 65 6c 73 65 20 |end if. | else |
|00004880| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 74 55 |put true| into tU|
|00004890| 6e 6c 69 6e 6b 65 64 4f | 62 6a 65 63 74 73 0a 20 |nlinkedO|bjects. |
|000048a0| 20 65 6e 64 20 72 65 70 | 65 61 74 0a 0a 20 20 64 | end rep|eat.. d|
|000048b0| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|000048c0| 6f 66 20 74 4c 69 6e 6b | 65 64 54 61 62 73 0a 20 |of tLink|edTabs. |
|000048d0| 20 64 65 6c 65 74 65 20 | 6c 61 73 74 20 63 68 61 | delete |last cha|
|000048e0| 72 20 6f 66 20 74 4f 62 | 6a 65 63 74 0a 0a 20 20 |r of tOb|ject.. |
|000048f0| 69 66 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |if the n|umber of|
|00004900| 20 69 74 65 6d 73 20 69 | 6e 20 74 4f 62 6a 65 63 | items i|n tObjec|
|00004910| 74 20 3e 20 31 20 74 68 | 65 6e 20 70 75 74 20 74 |t > 1 th|en put t|
|00004920| 72 75 65 20 69 6e 74 6f | 20 74 4d 75 6c 74 69 70 |rue into| tMultip|
|00004930| 6c 65 4f 62 6a 65 63 74 | 54 79 70 65 73 0a 20 20 |leObject|Types. |
|00004940| 70 75 74 20 74 68 65 20 | 63 52 45 56 54 61 62 42 |put the |cREVTabB|
|00004950| 65 66 6f 72 65 45 6d 70 | 74 79 53 65 6c 65 63 74 |eforeEmp|tySelect|
|00004960| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ion of t|his stac|
|00004970| 6b 20 69 6e 74 6f 20 74 | 54 61 62 42 65 66 6f 72 |k into t|TabBefor|
|00004980| 65 45 6d 70 74 79 53 65 | 6c 65 63 74 69 6f 6e 0a |eEmptySe|lection.|
|00004990| 20 20 69 66 20 74 54 61 | 62 42 65 66 6f 72 65 45 | if tTa|bBeforeE|
|000049a0| 6d 70 74 79 53 65 6c 65 | 63 74 69 6f 6e 20 69 73 |mptySele|ction is|
|000049b0| 20 65 6d 70 74 79 20 61 | 6e 64 20 74 68 65 20 73 | empty a|nd the s|
|000049c0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000049d0| 73 20 63 64 20 69 73 20 | 6e 6f 74 20 22 45 6d 70 |s cd is |not "Emp|
|000049e0| 74 79 20 53 65 6c 65 63 | 74 69 6f 6e 22 20 74 68 |ty Selec|tion" th|
|000049f0| 65 6e 20 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |en put t|he short|
|00004a00| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00004a10| 20 69 6e 74 6f 20 74 54 | 61 62 0a 20 20 65 6c 73 | into tT|ab. els|
|00004a20| 65 0a 20 20 20 20 70 75 | 74 20 74 54 61 62 42 65 |e. pu|t tTabBe|
|00004a30| 66 6f 72 65 45 6d 70 74 | 79 53 65 6c 65 63 74 69 |foreEmpt|ySelecti|
|00004a40| 6f 6e 20 69 6e 74 6f 20 | 74 54 61 62 0a 20 20 20 |on into |tTab. |
|00004a50| 20 69 66 20 6e 6f 74 20 | 74 53 65 6c 65 63 74 65 | if not |tSelecte|
|00004a60| 64 4f 62 6a 65 63 74 20 | 69 73 20 65 6d 70 74 79 |dObject |is empty|
|00004a70| 20 6f 72 20 28 6e 6f 74 | 20 74 4f 62 6a 65 63 74 | or (not| tObject|
|00004a80| 4c 69 6e 6b 65 64 20 61 | 6e 64 20 74 55 6e 6c 69 |Linked a|nd tUnli|
|00004a90| 6e 6b 65 64 4f 62 6a 65 | 63 74 73 29 20 74 68 65 |nkedObje|cts) the|
|00004aa0| 6e 0a 20 20 20 20 20 20 | 73 65 74 20 74 68 65 20 |n. |set the |
|00004ab0| 63 52 45 56 54 61 62 42 | 65 66 6f 72 65 45 6d 70 |cREVTabB|eforeEmp|
|00004ac0| 74 79 53 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 74 |tySelect|ion of t|
|00004ad0| 68 69 73 20 73 74 61 63 | 6b 20 74 6f 20 65 6d 70 |his stac|k to emp|
|00004ae0| 74 79 0a 20 20 20 20 65 | 6e 64 20 69 66 0a 20 20 |ty. e|nd if. |
|00004af0| 65 6e 64 20 69 66 0a 20 | 20 69 66 20 74 54 61 62 |end if. | if tTab|
|00004b00| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00004b10| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 43 75 |ut item |1 of tCu|
|00004b20| 72 72 65 6e 74 54 61 62 | 73 20 69 6e 74 6f 20 74 |rrentTab|s into t|
|00004b30| 54 61 62 0a 20 20 2d 2d | 64 65 74 65 72 6d 69 6e |Tab. --|determin|
|00004b40| 65 20 77 68 65 74 68 65 | 72 20 74 68 69 73 20 70 |e whethe|r this p|
|00004b50| 61 6c 65 74 74 65 20 63 | 6f 6e 74 61 69 6e 73 20 |alette c|ontains |
|00004b60| 61 6e 79 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |any of t|he same |
|00004b70| 74 61 62 73 20 61 73 20 | 61 6e 79 20 6f 66 20 74 |tabs as |any of t|
|00004b80| 68 65 20 6c 69 6e 6b 65 | 64 20 6f 62 6a 65 63 74 |he linke|d object|
|00004b90| 73 20 69 6e 20 74 68 65 | 20 73 65 6c 65 63 74 69 |s in the| selecti|
|00004ba0| 6f 6e 0a 20 20 70 75 74 | 20 66 61 6c 73 65 20 69 |on. put| false i|
|00004bb0| 6e 74 6f 20 74 53 61 6d | 65 54 61 62 73 0a 20 20 |nto tSam|eTabs. |
|00004bc0| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00004bd0| 69 74 65 6d 20 69 20 69 | 6e 20 74 68 65 20 63 52 |item i i|n the cR|
|00004be0| 45 56 43 75 72 72 65 6e | 74 54 61 62 73 20 6f 66 |EVCurren|tTabs of|
|00004bf0| 20 74 68 69 73 20 73 74 | 61 63 6b 0a 20 20 20 20 | this st|ack. |
|00004c00| 69 66 20 69 20 69 73 20 | 69 6e 20 74 4c 69 6e 6b |if i is |in tLink|
|00004c10| 65 64 54 61 62 73 20 74 | 68 65 6e 0a 20 20 20 20 |edTabs t|hen. |
|00004c20| 20 20 2d 2d 70 61 6c 65 | 74 74 65 20 63 6f 6e 74 | --pale|tte cont|
|00004c30| 61 69 6e 73 20 74 68 65 | 20 73 61 6d 65 20 74 61 |ains the| same ta|
|00004c40| 62 20 61 73 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |b as one| of the |
|00004c50| 70 61 6c 65 74 74 65 73 | 20 77 68 69 63 68 20 69 |palettes| which i|
|00004c60| 73 20 6c 69 6e 6b 65 64 | 20 74 6f 20 6f 6e 65 20 |s linked| to one |
|00004c70| 6f 66 20 74 68 65 20 6f | 62 6a 65 63 74 73 20 69 |of the o|bjects i|
|00004c80| 6e 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 0a |n the se|lection.|
|00004c90| 20 20 20 20 20 20 70 75 | 74 20 74 72 75 65 20 69 | pu|t true i|
|00004ca0| 6e 74 6f 20 74 53 61 6d | 65 54 61 62 73 0a 20 20 |nto tSam|eTabs. |
|00004cb0| 20 20 20 20 65 78 69 74 | 20 72 65 70 65 61 74 0a | exit| repeat.|
|00004cc0| 20 20 20 20 65 6e 64 20 | 69 66 0a 20 20 65 6e 64 | end |if. end|
|00004cd0| 20 72 65 70 65 61 74 0a | 0a 0a 20 20 69 66 20 74 | repeat.|.. if t|
|00004ce0| 4c 69 6e 6b 65 64 50 61 | 6c 65 74 74 65 57 69 74 |LinkedPa|letteWit|
|00004cf0| 68 4f 62 6a 65 63 74 54 | 61 62 20 61 6e 64 20 74 |hObjectT|ab and t|
|00004d00| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00004d10| 20 74 68 69 73 20 73 74 | 61 63 6b 20 69 73 20 67 | this st|ack is g|
|00004d20| 52 45 56 4f 62 6a 65 63 | 74 50 61 6c 65 74 74 65 |REVObjec|tPalette|
|00004d30| 20 74 68 65 6e 20 70 75 | 74 20 74 72 75 65 20 69 | then pu|t true i|
|00004d40| 6e 74 6f 20 74 53 61 6d | 65 54 61 62 73 0a 20 20 |nto tSam|eTabs. |
|00004d50| 2d 2d 20 74 68 65 20 6f | 62 6a 65 63 74 20 74 61 |-- the o|bject ta|
|00004d60| 62 20 6f 6e 20 74 68 69 | 73 20 70 61 6c 65 74 74 |b on thi|s palett|
|00004d70| 65 20 77 69 6c 6c 20 63 | 6f 6e 66 6c 69 63 74 20 |e will c|onflict |
|00004d80| 77 69 74 68 20 74 68 65 | 20 6f 62 6a 65 63 74 20 |with the| object |
|00004d90| 74 61 62 20 6f 6e 20 61 | 20 6c 69 6e 6b 65 64 20 |tab on a| linked |
|00004da0| 70 61 6c 65 74 74 65 0a | 0a 20 20 69 66 20 74 53 |palette.|. if tS|
|00004db0| 65 6c 65 63 74 65 64 4f | 62 6a 65 63 74 20 69 73 |electedO|bject is|
|00004dc0| 20 65 6d 70 74 79 20 6f | 72 20 28 74 4f 62 6a 65 | empty o|r (tObje|
|00004dd0| 63 74 4c 69 6e 6b 65 64 | 20 61 6e 64 20 6e 6f 74 |ctLinked| and not|
|00004de0| 20 74 55 6e 6c 69 6e 6b | 65 64 4f 62 6a 65 63 74 | tUnlink|edObject|
|00004df0| 73 20 61 6e 64 20 74 53 | 61 6d 65 54 61 62 73 29 |s and tS|ameTabs)|
|00004e00| 20 74 68 65 6e 0a 20 20 | 20 20 2d 2d 6e 6f 74 68 | then. | --noth|
|00004e10| 69 6e 67 20 73 65 6c 65 | 63 74 65 64 20 6f 72 20 |ing sele|cted or |
|00004e20| 73 65 6c 6f 62 6a 20 6c | 69 6e 6b 65 64 20 69 6e |selobj l|inked in|
|00004e30| 20 70 61 6c 65 74 74 65 | 20 77 68 69 63 68 20 63 | palette| which c|
|00004e40| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 73 61 6d 65 |ontains |the same|
|00004e50| 20 74 61 62 73 0a 20 20 | 20 20 69 66 20 74 68 65 | tabs. | if the|
|00004e60| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004e70| 68 69 73 20 63 64 20 69 | 73 20 6e 6f 74 20 22 45 |his cd i|s not "E|
|00004e80| 6d 70 74 79 20 53 65 6c | 65 63 74 69 6f 6e 22 20 |mpty Sel|ection" |
|00004e90| 74 68 65 6e 0a 0a 20 20 | 20 20 20 20 70 75 74 20 |then.. | put |
|00004ea0| 65 6d 70 74 79 20 69 6e | 74 6f 20 74 47 6c 6f 62 |empty in|to tGlob|
|00004eb0| 61 6c 54 61 62 73 0a 20 | 20 20 20 20 20 72 65 70 |alTabs. | rep|
|00004ec0| 65 61 74 20 66 6f 72 20 | 65 61 63 68 20 69 74 65 |eat for |each ite|
|00004ed0| 6d 20 69 20 69 6e 20 22 | 52 45 56 43 6f 6c 6f 72 |m i in "|REVColor|
|00004ee0| 73 22 0a 20 20 20 20 20 | 20 20 20 69 66 20 69 20 |s". | if i |
|00004ef0| 69 73 20 69 6e 20 74 43 | 75 72 72 65 6e 74 54 61 |is in tC|urrentTa|
|00004f00| 62 73 20 74 68 65 6e 20 | 70 75 74 20 69 20 26 20 |bs then |put i & |
|00004f10| 63 6f 6d 6d 61 20 61 66 | 74 65 72 20 74 47 6c 6f |comma af|ter tGlo|
|00004f20| 62 61 6c 54 61 62 73 0a | 20 20 20 20 20 20 65 6e |balTabs.| en|
|00004f30| 64 20 72 65 70 65 61 74 | 0a 20 20 20 20 20 20 64 |d repeat|. d|
|00004f40| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00004f50| 6f 66 20 74 47 6c 6f 62 | 61 6c 54 61 62 73 0a 20 |of tGlob|alTabs. |
|00004f60| 20 20 20 20 20 69 66 20 | 74 47 6c 6f 62 61 6c 54 | if |tGlobalT|
|00004f70| 61 62 73 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |abs is n|ot empty|
|00004f80| 20 61 6e 64 20 74 53 65 | 6c 65 63 74 65 64 4f 62 | and tSe|lectedOb|
|00004f90| 6a 65 63 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |ject is |empty th|
|00004fa0| 65 6e 0a 20 20 20 20 20 | 20 20 20 52 45 56 45 64 |en. | REVEd|
|00004fb0| 69 74 50 61 69 6e 74 45 | 6e 76 69 72 6f 6e 6d 65 |itPaintE|nvironme|
|00004fc0| 6e 74 20 74 47 6c 6f 62 | 61 6c 54 61 62 73 2c 20 |nt tGlob|alTabs, |
|00004fd0| 74 43 75 72 72 65 6e 74 | 54 61 62 73 0a 20 20 20 |tCurrent|Tabs. |
|00004fe0| 20 20 20 65 6c 73 65 0a | 20 20 20 20 20 20 20 20 | else.| |
|00004ff0| 73 65 74 20 74 68 65 20 | 63 52 45 56 54 61 62 42 |set the |cREVTabB|
|00005000| 65 66 6f 72 65 45 6d 70 | 74 79 53 65 6c 65 63 74 |eforeEmp|tySelect|
|00005010| 69 6f 6e 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ion of t|his stac|
|00005020| 6b 20 74 6f 20 74 68 65 | 20 73 68 6f 72 74 20 6e |k to the| short n|
|00005030| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 64 0a 20 |ame of t|his cd. |
|00005040| 20 20 20 20 20 20 20 67 | 6f 20 63 64 20 22 45 6d | g|o cd "Em|
|00005050| 70 74 79 20 53 65 6c 65 | 63 74 69 6f 6e 22 0a 20 |pty Sele|ction". |
|00005060| 20 20 20 20 20 65 6e 64 | 20 69 66 0a 20 20 20 20 | end| if. |
|00005070| 65 6e 64 20 69 66 0a 20 | 20 20 20 69 66 20 6e 6f |end if. | if no|
|00005080| 74 20 74 68 65 20 63 52 | 45 56 45 64 69 74 69 6e |t the cR|EVEditin|
|00005090| 67 50 61 69 6e 74 45 6e | 76 69 72 6f 6e 6d 65 6e |gPaintEn|vironmen|
|000050a0| 74 20 6f 66 20 6d 65 20 | 74 68 65 6e 0a 20 20 20 |t of me |then. |
|000050b0| 20 20 20 69 66 20 74 4f | 62 6a 65 63 74 4c 69 6e | if tO|bjectLin|
|000050c0| 6b 65 64 20 74 68 65 6e | 20 70 75 74 20 22 54 68 |ked then| put "Th|
|000050d0| 65 20 73 65 6c 65 63 74 | 65 64 4f 62 6a 65 63 74 |e select|edObject|
|000050e0| 20 69 73 20 6c 69 6e 6b | 65 64 22 20 69 6e 74 6f | is link|ed" into|
|000050f0| 20 66 6c 64 20 22 4e 6f | 20 53 65 6c 65 63 74 69 | fld "No| Selecti|
|00005100| 6f 6e 22 0a 20 20 20 20 | 20 20 65 6c 73 65 20 70 |on". | else p|
|00005110| 75 74 20 22 4e 6f 20 53 | 65 6c 65 63 74 69 6f 6e |ut "No S|election|
|00005120| 22 20 69 6e 74 6f 20 66 | 6c 64 20 22 4e 6f 20 53 |" into f|ld "No S|
|00005130| 65 6c 65 63 74 69 6f 6e | 22 0a 20 20 20 20 65 6e |election|". en|
|00005140| 64 20 69 66 0a 20 20 65 | 6c 73 65 0a 20 20 20 20 |d if. e|lse. |
|00005150| 72 65 70 65 61 74 20 66 | 6f 72 20 65 61 63 68 20 |repeat f|or each |
|00005160| 69 74 65 6d 20 69 20 69 | 6e 20 74 43 75 72 72 65 |item i i|n tCurre|
|00005170| 6e 74 54 61 62 73 2d 2d | 20 69 73 20 74 68 65 72 |ntTabs--| is ther|
|00005180| 65 20 61 6e 20 6f 62 6a | 65 63 74 20 73 70 65 63 |e an obj|ect spec|
|00005190| 69 66 69 63 20 74 61 62 | 0a 20 20 20 20 20 20 69 |ific tab|. i|
|000051a0| 66 20 69 20 69 73 20 69 | 6e 20 22 52 45 56 62 75 |f i is i|n "REVbu|
|000051b0| 74 74 6f 6e 2c 52 45 56 | 66 69 65 6c 64 2c 52 45 |tton,REV|field,RE|
|000051c0| 56 63 61 72 64 2c 52 45 | 56 73 74 61 63 6b 2c 52 |Vcard,RE|Vstack,R|
|000051d0| 45 56 67 72 61 70 68 69 | 63 2c 52 45 56 67 72 6f |EVgraphi|c,REVgro|
|000051e0| 75 70 2c 52 45 56 73 63 | 72 6f 6c 6c 62 61 72 2c |up,REVsc|rollbar,|
|000051f0| 52 45 56 69 6d 61 67 65 | 2c 52 45 56 61 75 64 69 |REVimage|,REVaudi|
|00005200| 6f 63 6c 69 70 2c 52 45 | 56 76 69 64 65 6f 63 6c |oclip,RE|Vvideocl|
|00005210| 69 70 2c 52 45 56 45 50 | 53 2c 52 45 56 50 6c 61 |ip,REVEP|S,REVPla|
|00005220| 79 65 72 22 20 74 68 65 | 6e 20 70 75 74 20 69 20 |yer" the|n put i |
|00005230| 69 6e 74 6f 20 74 4f 6c | 64 4f 62 6a 65 63 74 54 |into tOl|dObjectT|
|00005240| 61 62 0a 20 20 20 20 65 | 6e 64 20 72 65 70 65 61 |ab. e|nd repea|
|00005250| 74 0a 20 20 20 20 69 66 | 20 74 4d 75 6c 74 69 70 |t. if| tMultip|
|00005260| 6c 65 4f 62 6a 65 63 74 | 54 79 70 65 73 20 74 68 |leObject|Types th|
|00005270| 65 6e 20 2d 2d 20 73 65 | 6c 65 63 74 69 6f 6e 20 |en -- se|lection |
|00005280| 77 69 74 68 20 6d 75 6c | 74 69 70 6c 65 20 6f 62 |with mul|tiple ob|
|00005290| 6a 65 63 74 20 74 79 70 | 65 73 0a 20 20 20 20 20 |ject typ|es. |
|000052a0| 20 2d 2d 69 66 20 74 68 | 65 20 6f 6e 6c 79 20 74 | --if th|e only t|
|000052b0| 61 62 20 69 6e 20 74 68 | 65 20 70 61 6c 65 74 74 |ab in th|e palett|
|000052c0| 65 20 69 73 20 61 6e 20 | 6f 62 6a 65 63 74 20 73 |e is an |object s|
|000052d0| 70 65 63 69 66 69 63 20 | 6f 6e 65 20 74 68 65 6e |pecific |one then|
|000052e0| 20 67 6f 20 63 64 20 22 | 45 6d 70 74 79 20 53 65 | go cd "|Empty Se|
|000052f0| 6c 65 63 74 69 6f 6e 22 | 0a 20 20 20 20 20 20 69 |lection"|. i|
|00005300| 66 20 74 43 75 72 72 65 | 6e 74 54 61 62 73 20 69 |f tCurre|ntTabs i|
|00005310| 73 20 69 6e 20 22 52 45 | 56 42 75 74 74 6f 6e 2c |s in "RE|VButton,|
|00005320| 52 45 56 46 69 65 6c 64 | 2c 52 45 56 47 72 6f 75 |REVField|,REVGrou|
|00005330| 70 2c 52 45 56 47 72 61 | 70 68 69 63 2c 52 45 56 |p,REVGra|phic,REV|
|00005340| 43 61 72 64 2c 52 45 56 | 53 74 61 63 6b 2c 52 45 |Card,REV|Stack,RE|
|00005350| 56 53 63 72 6f 6c 6c 62 | 61 72 2c 52 45 56 41 75 |VScrollb|ar,REVAu|
|00005360| 64 69 6f 63 6c 69 70 2c | 52 45 56 56 69 64 65 6f |dioclip,|REVVideo|
|00005370| 43 6c 69 70 2c 52 45 56 | 50 6c 61 79 65 72 2c 52 |Clip,REV|Player,R|
|00005380| 45 56 49 6d 61 67 65 2c | 52 45 56 45 50 53 22 20 |EVImage,|REVEPS" |
|00005390| 74 68 65 6e 0a 20 20 20 | 20 20 20 20 20 67 6f 20 |then. | go |
|000053a0| 63 64 20 22 45 6d 70 74 | 79 20 53 65 6c 65 63 74 |cd "Empt|y Select|
|000053b0| 69 6f 6e 22 0a 20 20 20 | 20 20 20 20 20 70 75 74 |ion". | put|
|000053c0| 20 22 4e 6f 20 74 61 62 | 20 61 76 61 69 6c 61 62 | "No tab| availab|
|000053d0| 6c 65 20 66 6f 72 20 73 | 65 6c 65 63 74 69 6f 6e |le for s|election|
|000053e0| 22 20 69 6e 74 6f 20 66 | 6c 64 20 22 4e 6f 20 53 |" into f|ld "No S|
|000053f0| 65 6c 65 63 74 69 6f 6e | 22 0a 20 20 20 20 20 20 |election|". |
|00005400| 20 20 52 45 56 53 65 74 | 52 65 63 74 0a 20 20 20 | REVSet|Rect. |
|00005410| 20 20 20 20 20 70 75 74 | 20 66 61 6c 73 65 20 69 | put| false i|
|00005420| 6e 74 6f 20 67 52 45 56 | 44 6f 6e 74 52 65 73 69 |nto gREV|DontResi|
|00005430| 7a 65 0a 20 20 20 20 20 | 20 20 20 23 23 70 75 74 |ze. | ##put|
|00005440| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 67 52 45 56 | false i|nto gREV|
|00005450| 42 75 69 6c 64 69 6e 67 | 50 61 6c 65 74 74 65 45 |Building|PaletteE|
|00005460| 78 65 6d 70 74 69 6f 6e | 0a 20 20 20 20 20 20 20 |xemption|. |
|00005470| 20 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0a 20 | unlock |screen. |
|00005480| 20 20 20 20 20 20 20 65 | 78 69 74 20 52 45 56 55 | e|xit REVU|
|00005490| 70 64 61 74 65 54 61 62 | 73 0a 20 20 20 20 20 20 |pdateTab|s. |
|000054a0| 65 6e 64 20 69 66 0a 20 | 20 20 20 20 20 2d 2d 2d |end if. | ---|
|000054b0| 2a 2a 2a 2a 0a 20 20 20 | 20 20 20 69 66 20 74 68 |****. | if th|
|000054c0| 65 72 65 20 69 73 20 61 | 20 63 64 20 74 4f 6c 64 |ere is a| cd tOld|
|000054d0| 4f 62 6a 65 63 74 54 61 | 62 20 74 68 65 6e 2d 2d |ObjectTa|b then--|
|000054e0| 20 64 65 6c 65 74 65 20 | 6f 6c 64 20 6f 62 6a 65 | delete |old obje|
|000054f0| 63 74 20 73 70 65 63 69 | 66 69 63 20 74 61 62 20 |ct speci|fic tab |
|00005500| 61 6e 64 20 64 6f 6e 74 | 20 72 65 70 6c 61 63 65 |and dont| replace|
|00005510| 0a 20 20 20 20 20 20 20 | 20 52 45 56 44 65 6c 65 |. | REVDele|
|00005520| 74 65 50 72 6f 70 65 72 | 74 79 50 61 6c 65 74 74 |teProper|tyPalett|
|00005530| 65 43 61 72 64 20 74 4f | 6c 64 4f 62 6a 65 63 74 |eCard tO|ldObject|
|00005540| 54 61 62 2c 20 74 68 65 | 20 73 68 6f 72 74 20 6e |Tab, the| short n|
|00005550| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00005560| 6b 0a 20 20 20 20 20 20 | 20 20 64 65 6c 65 74 65 |k. | delete|
|00005570| 20 69 74 65 6d 20 69 74 | 65 6d 4f 66 66 73 65 74 | item it|emOffset|
|00005580| 28 74 4f 6c 64 4f 62 6a | 65 63 74 54 61 62 2c 74 |(tOldObj|ectTab,t|
|00005590| 43 75 72 72 65 6e 74 54 | 61 62 73 29 20 6f 66 20 |CurrentT|abs) of |
|000055a0| 74 43 75 72 72 65 6e 74 | 54 61 62 73 0a 20 20 20 |tCurrent|Tabs. |
|000055b0| 20 20 20 20 20 73 65 74 | 20 74 68 65 20 63 52 45 | set| the cRE|
|000055c0| 56 43 75 72 72 65 6e 74 | 54 61 62 73 20 6f 66 20 |VCurrent|Tabs of |
|000055d0| 74 68 69 73 20 73 74 61 | 63 6b 20 74 6f 20 74 43 |this sta|ck to tC|
|000055e0| 75 72 72 65 6e 74 54 61 | 62 73 0a 20 20 20 0a 20 |urrentTa|bs. . |
|000055f0| 20 20 20 20 20 20 20 69 | 66 20 74 54 61 62 20 69 | i|f tTab i|
|00005600| 73 20 69 6e 20 22 52 45 | 56 62 75 74 74 6f 6e 2c |s in "RE|Vbutton,|
|00005610| 52 45 56 66 69 65 6c 64 | 2c 52 45 56 73 63 72 6f |REVfield|,REVscro|
|00005620| 6c 6c 62 61 72 2c 52 45 | 56 67 72 6f 75 70 2c 52 |llbar,RE|Vgroup,R|
|00005630| 45 56 73 74 61 63 6b 2c | 52 45 56 63 61 72 64 2c |EVstack,|REVcard,|
|00005640| 52 45 56 69 6d 61 67 65 | 2c 52 45 56 67 72 61 70 |REVimage|,REVgrap|
|00005650| 68 69 63 2c 52 45 56 61 | 75 64 69 63 43 6c 69 70 |hic,REVa|udicClip|
|00005660| 2c 52 45 56 76 69 64 65 | 6f 43 6c 69 70 2c 52 45 |,REVvide|oClip,RE|
|00005670| 56 45 50 53 2c 52 45 56 | 50 6c 61 79 65 72 22 20 |VEPS,REV|Player" |
|00005680| 6f 72 20 74 54 61 62 20 | 69 73 20 65 6d 70 74 79 |or tTab |is empty|
|00005690| 20 74 68 65 6e 0a 20 20 | 20 20 20 20 20 20 20 20 | then. | |
|000056a0| 67 6f 20 63 64 20 28 69 | 74 65 6d 20 31 20 6f 66 |go cd (i|tem 1 of|
|000056b0| 20 74 43 75 72 72 65 6e | 74 54 61 62 73 29 2d 2d | tCurren|tTabs)--|
|000056c0| 20 67 6f 20 66 69 72 73 | 74 20 63 64 0a 20 20 20 | go firs|t cd. |
|000056d0| 20 20 20 20 20 20 20 73 | 65 74 20 74 68 65 20 69 | s|et the i|
|000056e0| 63 6f 6e 20 6f 66 20 62 | 74 6e 20 28 69 74 65 6d |con of b|tn (item|
|000056f0| 20 31 20 6f 66 20 74 43 | 75 72 72 65 6e 74 54 61 | 1 of tC|urrentTa|
|00005700| 62 73 29 20 74 6f 20 74 | 68 65 20 63 52 45 56 48 |bs) to t|he cREVH|
|00005710| 69 6c 69 74 65 49 63 6f | 6e 5b 67 52 45 56 54 61 |iliteIco|n[gREVTa|
|00005720| 62 50 6c 61 74 66 6f 72 | 6d 5d 20 6f 66 20 62 74 |bPlatfor|m] of bt|
|00005730| 6e 20 28 69 74 65 6d 20 | 31 20 6f 66 20 74 43 75 |n (item |1 of tCu|
|00005740| 72 72 65 6e 74 54 61 62 | 73 29 0a 20 20 20 20 20 |rrentTab|s). |
|00005750| 20 20 20 20 20 73 65 74 | 20 74 68 65 20 6c 61 79 | set| the lay|
|00005760| 65 72 20 6f 66 20 67 72 | 70 20 28 69 74 65 6d 20 |er of gr|p (item |
|00005770| 31 20 6f 66 20 74 43 75 | 72 72 65 6e 74 54 61 62 |1 of tCu|rrentTab|
|00005780| 73 29 20 74 6f 20 74 68 | 65 20 6e 75 6d 20 6f 66 |s) to th|e num of|
|00005790| 20 63 6f 6e 74 72 6f 6c | 73 0a 20 20 20 20 20 20 | control|s. |
|000057a0| 20 20 65 6c 73 65 20 67 | 6f 20 63 64 20 74 54 61 | else g|o cd tTa|
|000057b0| 62 0a 20 20 20 20 20 20 | 65 6c 73 65 0a 20 20 20 |b. |else. |
|000057c0| 20 20 20 20 20 69 66 20 | 74 54 61 62 20 69 73 20 | if |tTab is |
|000057d0| 65 6d 70 74 79 20 61 6e | 64 20 69 74 65 6d 20 31 |empty an|d item 1|
|000057e0| 20 6f 66 20 74 43 75 72 | 72 65 6e 74 54 61 62 73 | of tCur|rentTabs|
|000057f0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005800| 65 6e 0a 20 20 20 20 20 | 20 20 20 20 20 67 6f 20 |en. | go |
|00005810| 63 64 20 28 69 74 65 6d | 20 31 20 6f 66 20 74 43 |cd (item| 1 of tC|
|00005820| 75 72 72 65 6e 74 54 61 | 62 73 29 2d 2d 20 67 6f |urrentTa|bs)-- go|
|00005830| 20 66 69 72 73 74 20 63 | 64 0a 20 20 20 20 20 20 | first c|d. |
|00005840| 20 20 20 20 73 65 74 20 | 74 68 65 20 69 63 6f 6e | set |the icon|
|00005850| 20 6f 66 20 62 74 6e 20 | 28 69 74 65 6d 20 31 20 | of btn |(item 1 |
|00005860| 6f 66 20 74 43 75 72 72 | 65 6e 74 54 61 62 73 29 |of tCurr|entTabs)|
|00005870| 20 74 6f 20 74 68 65 20 | 63 52 45 56 48 69 6c 69 | to the |cREVHili|
|00005880| 74 65 49 63 6f 6e 5b 67 | 52 45 56 54 61 62 50 6c |teIcon[g|REVTabPl|
|00005890| 61 74 66 6f 72 6d 5d 20 | 6f 66 20 62 74 6e 20 28 |atform] |of btn (|
|000058a0| 69 74 65 6d 20 31 20 6f | 66 20 74 43 75 72 72 65 |item 1 o|f tCurre|
|000058b0| 6e 74 54 61 62 73 29 0a | 20 20 20 20 20 0a 20 20 |ntTabs).| . |
|000058c0| 20 20 20 20 20 20 20 20 | 73 65 74 20 74 68 65 20 | |set the |
|000058d0| 6c 61 79 65 72 20 6f 66 | 20 67 72 70 20 28 69 74 |layer of| grp (it|
|000058e0| 65 6d 20 31 20 6f 66 20 | 74 43 75 72 72 65 6e 74 |em 1 of |tCurrent|
|000058f0| 54 61 62 73 29 20 74 6f | 20 74 68 65 20 6e 75 6d |Tabs) to| the num|
|00005900| 20 6f 66 20 63 6f 6e 74 | 72 6f 6c 73 0a 20 20 20 | of cont|rols. |
|00005910| 20 20 20 20 20 65 6c 73 | 65 20 69 66 20 74 54 61 | els|e if tTa|
|00005920| 62 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |b is not| empty t|
|00005930| 68 65 6e 0a 20 20 20 20 | 20 20 20 20 20 20 67 6f |hen. | go|
|00005940| 20 63 64 20 74 54 61 62 | 2d 2d 20 67 6f 20 6f 72 | cd tTab|-- go or|
|00005950| 69 67 69 6e 61 6c 20 63 | 64 0a 20 20 20 20 20 20 |iginal c|d. |
|00005960| 20 20 20 20 73 65 74 20 | 74 68 65 20 69 63 6f 6e | set |the icon|
|00005970| 20 6f 66 20 62 74 6e 20 | 74 54 61 62 20 74 6f 20 | of btn |tTab to |
|00005980| 74 68 65 20 63 52 45 56 | 48 69 6c 69 74 65 49 63 |the cREV|HiliteIc|
|00005990| 6f 6e 5b 67 52 45 56 54 | 61 62 50 6c 61 74 66 6f |on[gREVT|abPlatfo|
|000059a0| 72 6d 5d 20 6f 66 20 62 | 74 6e 20 74 54 61 62 0a |rm] of b|tn tTab.|
|000059b0| 20 20 20 20 20 20 20 20 | 20 20 73 65 74 20 74 68 | | set th|
|000059c0| 65 20 6c 61 79 65 72 20 | 6f 66 20 67 72 70 20 74 |e layer |of grp t|
|000059d0| 54 61 62 20 74 6f 20 74 | 68 65 20 6e 75 6d 20 6f |Tab to t|he num o|
|000059e0| 66 20 63 6f 6e 74 72 6f | 6c 73 0a 20 20 20 20 20 |f contro|ls. |
|000059f0| 20 20 20 65 6e 64 20 69 | 66 0a 20 20 20 20 20 20 | end i|f. |
|00005a00| 65 6e 64 20 69 66 0a 0a | 20 20 20 20 20 20 73 65 |end if..| se|
|00005a10| 74 20 74 68 65 20 6c 61 | 62 65 6c 20 6f 66 20 62 |t the la|bel of b|
|00005a20| 74 6e 20 22 53 65 6c 65 | 63 74 69 6f 6e 20 44 65 |tn "Sele|ction De|
|00005a30| 73 63 72 69 70 74 69 6f | 6e 22 20 6f 66 20 62 67 |scriptio|n" of bg|
|00005a40| 20 22 72 65 76 42 61 63 | 6b 64 72 6f 70 22 20 74 | "revBac|kdrop" t|
|00005a50| 6f 20 22 6d 75 6c 74 69 | 70 6c 65 20 6f 62 6a 65 |o "multi|ple obje|
|00005a60| 63 74 20 74 79 70 65 73 | 22 0a 20 20 20 20 20 20 |ct types|". |
|00005a70| 73 65 74 20 74 68 65 20 | 63 52 45 56 4c 61 62 65 |set the |cREVLabe|
|00005a80| 6c 49 44 20 6f 66 20 62 | 74 6e 20 22 53 65 6c 65 |lID of b|tn "Sele|
|00005a90| 63 74 69 6f 6e 20 44 65 | 73 63 72 69 70 74 69 6f |ction De|scriptio|
|00005aa0| 6e 22 20 6f 66 20 62 67 | 20 22 72 65 76 42 61 63 |n" of bg| "revBac|
|00005ab0| 6b 64 72 6f 70 22 20 74 | 6f 20 22 6d 75 6c 74 69 |kdrop" t|o "multi|
|00005ac0| 70 6c 65 20 6f 62 6a 65 | 63 74 20 74 79 70 65 73 |ple obje|ct types|
|00005ad0| 22 0a 20 20 20 20 65 6c | 73 65 20 2d 2d 20 73 69 |". el|se -- si|
|00005ae0| 6e 67 6c 65 20 6f 62 6a | 65 63 74 20 74 79 70 65 |ngle obj|ect type|
|00005af0| 0a 20 20 20 20 20 20 2d | 2d 64 65 61 6c 20 77 69 |. -|-deal wi|
|00005b00| 74 68 20 73 65 6c 65 63 | 74 69 6f 6e 20 64 65 73 |th selec|tion des|
|00005b10| 63 72 69 70 74 69 6f 6e | 0a 20 20 20 20 20 20 69 |cription|. i|
|00005b20| 66 20 74 68 65 20 6e 75 | 6d 20 6f 66 20 6c 69 6e |f the nu|m of lin|
|00005b30| 65 73 20 69 6e 20 74 53 | 65 6c 65 63 74 65 64 4f |es in tS|electedO|
|00005b40| 62 6a 65 63 74 20 3e 20 | 31 20 74 68 65 6e 0a 20 |bject > |1 then. |
|00005b50| 20 20 20 20 20 20 20 2d | 2d 69 66 20 68 63 41 64 | -|-if hcAd|
|00005b60| 64 72 65 73 73 69 6e 67 | 20 69 73 20 74 72 75 65 |dressing| is true|
|00005b70| 20 66 6f 72 20 74 68 65 | 20 6f 77 6e 65 72 20 73 | for the| owner s|
|00005b80| 74 61 63 6b 2c 20 61 6e | 64 20 61 20 63 6f 6e 74 |tack, an|d a cont|
|00005b90| 72 6f 6c 20 69 73 20 73 | 65 6c 65 63 74 65 64 2c |rol is s|elected,|
|00005ba0| 20 77 6f 72 64 20 32 20 | 6f 66 20 74 68 65 20 69 | word 2 |of the i|
|00005bb0| 64 20 67 69 76 65 73 20 | 74 68 65 20 6f 62 6a 65 |d gives |the obje|
|00005bc0| 63 74 20 74 79 70 65 0a | 20 20 20 20 20 20 20 20 |ct type.| |
|00005bd0| 69 66 20 74 48 43 41 64 | 64 72 65 73 73 69 6e 67 |if tHCAd|dressing|
|00005be0| 20 61 6e 64 20 77 6f 72 | 64 20 32 20 6f 66 20 74 | and wor|d 2 of t|
|00005bf0| 53 65 6c 65 63 74 65 64 | 4f 62 6a 65 63 74 20 69 |Selected|Object i|
|00005c00| 73 20 61 6d 6f 6e 67 20 | 74 68 65 20 69 74 65 6d |s among |the item|
|00005c10| 73 20 6f 66 20 6b 4f 62 | 6a 65 63 74 54 79 70 65 |s of kOb|jectType|
|00005c20| 73 0a 20 20 20 20 20 20 | 20 20 74 68 65 6e 20 70 |s. | then p|
|00005c30| 75 74 20 77 6f 72 64 20 | 32 20 6f 66 20 74 53 65 |ut word |2 of tSe|
|00005c40| 6c 65 63 74 65 64 4f 62 | 6a 65 63 74 20 69 6e 74 |lectedOb|ject int|
|00005c50| 6f 20 74 4d 75 6c 74 69 | 70 6c 65 53 65 6c 65 63 |o tMulti|pleSelec|
|00005c60| 74 69 6f 6e 4f 62 6a 65 | 63 74 54 79 70 65 0a 20 |tionObje|ctType. |
|00005c70| 20 20 20 20 20 20 20 65 | 6c 73 65 20 70 75 74 20 | e|lse put |
|00005c80| 77 6f 72 64 20 31 20 6f | 66 20 74 53 65 6c 65 63 |word 1 o|f tSelec|
|00005c90| 74 65 64 4f 62 6a 65 63 | 74 20 69 6e 74 6f 20 74 |tedObjec|t into t|
|00005ca0| 4d 75 6c 74 69 70 6c 65 | 53 65 6c 65 63 74 69 6f |Multiple|Selectio|
|00005cb0| 6e 4f 62 6a 65 63 74 54 | 79 70 65 0a 20 20 20 20 |nObjectT|ype. |
|00005cc0| 20 20 20 20 70 75 74 20 | 22 6d 75 6c 74 69 70 6c | put |"multipl|
|00005cd0| 65 22 20 26 26 20 74 4d | 75 6c 74 69 70 6c 65 53 |e" && tM|ultipleS|
|00005ce0| 65 6c 65 63 74 69 6f 6e | 4f 62 6a 65 63 74 54 79 |election|ObjectTy|
|00005cf0| 70 65 20 26 20 22 73 22 | 20 69 6e 74 6f 20 74 53 |pe & "s"| into tS|
|00005d00| 65 6c 65 63 74 69 6f 6e | 44 65 73 63 72 69 70 74 |election|Descript|
|00005d10| 69 6f 6e 0a 20 20 20 20 | 20 20 20 20 73 65 74 20 |ion. | set |
|00005d20| 74 68 65 20 63 52 45 56 | 4c 61 62 65 6c 49 44 20 |the cREV|LabelID |
|00005d30| 6f 66 20 62 74 6e 20 22 | 53 65 6c 65 63 74 69 6f |of btn "|Selectio|
|00005d40| 6e 20 44 65 73 63 72 69 | 70 74 69 6f 6e 22 20 6f |n Descri|ption" o|
|00005d50| 66 20 62 67 20 22 72 65 | 76 42 61 63 6b 64 72 6f |f bg "re|vBackdro|
|00005d60| 70 22 20 74 6f 20 74 53 | 65 6c 65 63 74 69 6f 6e |p" to tS|election|
|00005d70| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 20 20 20 20 |Descript|ion. |
|00005d80| 20 20 65 6c 73 65 0a 20 | 20 20 20 20 20 20 20 69 | else. | i|
|00005d90| 66 20 77 6f 72 64 20 31 | 20 6f 66 20 74 53 65 6c |f word 1| of tSel|
|00005da0| 65 63 74 65 64 4f 62 6a | 65 63 74 20 69 73 20 22 |ectedObj|ect is "|
|00005db0| 74 68 65 22 20 74 68 65 | 6e 2d 2d 74 65 6d 70 6c |the" the|n--templ|
|00005dc0| 61 74 65 20 6f 62 6a 65 | 63 74 20 73 65 6c 65 63 |ate obje|ct selec|
|00005dd0| 74 65 64 0a 20 20 20 20 | 20 20 20 20 20 20 70 75 |ted. | pu|
|00005de0| 74 20 22 74 68 65 20 74 | 65 6d 70 6c 61 74 65 22 |t "the t|emplate"|
|00005df0| 20 26 20 74 54 68 65 4f | 62 6a 65 63 74 20 69 6e | & tTheO|bject in|
|00005e00| 74 6f 20 74 53 65 6c 65 | 63 74 69 6f 6e 44 65 73 |to tSele|ctionDes|
|00005e10| 63 72 69 70 74 69 6f 6e | 0a 20 20 20 20 20 20 20 |cription|. |
|00005e20| 20 20 20 73 65 74 20 74 | 68 65 20 63 52 45 56 4c | set t|he cREVL|
|00005e30| 61 62 65 6c 49 44 20 6f | 66 20 62 74 6e 20 22 53 |abelID o|f btn "S|
|00005e40| 65 6c 65 63 74 69 6f 6e | 20 44 65 73 63 72 69 70 |election| Descrip|
|00005e50| 74 69 6f 6e 22 20 6f 66 | 20 62 67 20 22 72 65 76 |tion" of| bg "rev|
|00005e60| 42 61 63 6b 64 72 6f 70 | 22 20 74 6f 20 74 53 65 |Backdrop|" to tSe|
|00005e70| 6c 65 63 74 69 6f 6e 44 | 65 73 63 72 69 70 74 69 |lectionD|escripti|
|00005e80| 6f 6e 0a 20 20 20 20 20 | 20 20 20 65 6c 73 65 0a |on. | else.|
|00005e90| 20 20 20 20 20 20 20 20 | 20 20 73 65 74 20 74 68 | | set th|
|00005ea0| 65 20 63 52 45 56 4c 61 | 62 65 6c 49 44 20 6f 66 |e cREVLa|belID of|
|00005eb0| 20 62 74 6e 20 22 53 65 | 6c 65 63 74 69 6f 6e 20 | btn "Se|lection |
|00005ec0| 44 65 73 63 72 69 70 74 | 69 6f 6e 22 20 6f 66 20 |Descript|ion" of |
|00005ed0| 62 67 20 22 72 65 76 42 | 61 63 6b 64 72 6f 70 22 |bg "revB|ackdrop"|
|00005ee0| 20 74 6f 20 74 53 65 6c | 65 63 74 65 64 4f 62 6a | to tSel|ectedObj|
|00005ef0| 65 63 74 0a 20 20 20 20 | 20 20 20 20 20 20 70 75 |ect. | pu|
|00005f00| 74 20 28 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |t (the n|ame of t|
|00005f10| 53 65 6c 65 63 74 65 64 | 4f 62 6a 65 63 74 29 20 |Selected|Object) |
|00005f20| 69 6e 74 6f 20 74 53 65 | 6c 65 63 74 69 6f 6e 44 |into tSe|lectionD|
|00005f30| 65 73 63 72 69 70 74 69 | 6f 6e 0a 20 20 20 20 20 |escripti|on. |
|00005f40| 20 20 20 65 6e 64 20 69 | 66 0a 20 20 20 20 20 20 | end i|f. |
|00005f50| 65 6e 64 20 69 66 0a 20 | 20 20 20 20 20 73 65 74 |end if. | set|
|00005f60| 20 74 68 65 20 6c 61 62 | 65 6c 20 6f 66 20 62 74 | the lab|el of bt|
|00005f70| 6e 20 22 53 65 6c 65 63 | 74 69 6f 6e 20 44 65 73 |n "Selec|tion Des|
|00005f80| 63 72 69 70 74 69 6f 6e | 22 20 6f 66 20 62 67 20 |cription|" of bg |
|00005f90| 22 72 65 76 42 61 63 6b | 64 72 6f 70 22 20 74 6f |"revBack|drop" to|
|00005fa0| 20 74 53 65 6c 65 63 74 | 69 6f 6e 44 65 73 63 72 | tSelect|ionDescr|
|00005fb0| 69 70 74 69 6f 6e 0a 20 | 20 20 20 20 20 69 66 20 |iption. | if |
|00005fc0| 74 4f 62 6a 65 63 74 20 | 69 73 20 61 6d 6f 6e 67 |tObject |is among|
|00005fd0| 20 74 68 65 20 69 74 65 | 6d 73 20 6f 66 20 74 43 | the ite|ms of tC|
|00005fe0| 75 72 72 65 6e 74 54 61 | 62 73 20 74 68 65 6e 0a |urrentTa|bs then.|
|00005ff0| 20 20 20 20 20 20 20 20 | 67 6f 20 63 64 20 74 54 | |go cd tT|
|00006000| 61 62 20 2d 2d 20 6e 65 | 77 20 6f 62 6a 65 63 74 |ab -- ne|w object|
|00006010| 20 74 61 62 20 61 6c 72 | 65 61 64 79 20 74 68 65 | tab alr|eady the|
|00006020| 72 65 0a 20 20 20 20 20 | 20 20 20 2d 2d 75 73 65 |re. | --use|
|00006030| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 73 70 6c 69 | the sec|ond spli|
|00006040| 74 20 74 61 62 20 69 63 | 6f 6e 20 69 66 20 6e 65 |t tab ic|on if ne|
|00006050| 63 65 73 73 61 72 72 79 | 0a 20 20 20 20 20 20 20 |cessarry|. |
|00006060| 20 69 66 20 74 68 65 20 | 63 52 45 56 57 68 69 63 | if the |cREVWhic|
|00006070| 68 54 61 62 20 6f 66 20 | 63 64 20 74 54 61 62 20 |hTab of |cd tTab |
|00006080| 69 73 20 22 73 65 63 6f | 6e 64 22 20 74 68 65 6e |is "seco|nd" then|
|00006090| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|000060a0| 20 62 74 6e 20 74 54 61 | 62 20 74 6f 20 74 68 65 | btn tTa|b to the|
|000060b0| 20 63 52 45 56 48 69 6c | 69 74 65 49 63 6f 6e 32 | cREVHil|iteIcon2|
|000060c0| 5b 67 52 45 56 54 61 62 | 50 6c 61 74 66 6f 72 6d |[gREVTab|Platform|
|000060d0| 5d 20 6f 66 20 62 74 6e | 20 74 54 61 62 0a 20 20 |] of btn| tTab. |
|000060e0| 20 20 20 20 20 20 65 6c | 73 65 20 73 65 74 20 74 | el|se set t|
|000060f0| 68 65 20 69 63 6f 6e 20 | 6f 66 20 62 74 6e 20 74 |he icon |of btn t|
|00006100| 54 61 62 20 74 6f 20 74 | 68 65 20 63 52 45 56 48 |Tab to t|he cREVH|
|00006110| 69 6c 69 74 65 49 63 6f | 6e 5b 67 52 45 56 54 61 |iliteIco|n[gREVTa|
|00006120| 62 50 6c 61 74 66 6f 72 | 6d 5d 20 6f 66 20 62 74 |bPlatfor|m] of bt|
|00006130| 6e 20 74 54 61 62 0a 20 | 20 20 20 20 20 20 20 73 |n tTab. | s|
|00006140| 65 74 20 74 68 65 20 6c | 61 79 65 72 20 6f 66 20 |et the l|ayer of |
|00006150| 67 72 70 20 74 54 61 62 | 20 74 6f 20 74 68 65 20 |grp tTab| to the |
|00006160| 6e 75 6d 20 6f 66 20 63 | 6f 6e 74 72 6f 6c 73 0a |num of c|ontrols.|
|00006170| 20 20 20 20 20 20 65 6c | 73 65 20 2d 2d 20 63 68 | el|se -- ch|
|00006180| 61 6e 67 65 20 6f 6c 64 | 20 6f 62 6a 65 63 74 20 |ange old| object |
|00006190| 74 61 62 20 74 6f 20 6e | 65 77 20 6f 62 6a 65 63 |tab to n|ew objec|
|000061a0| 74 20 74 61 62 20 6f 72 | 20 63 72 65 61 74 65 20 |t tab or| create |
|000061b0| 6e 65 77 20 74 61 62 0a | 20 20 20 20 20 20 20 20 |new tab.| |
|000061c0| 2d 2d 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |--******|********|
|000061d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000061e0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000061f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006200| 2a 2a 2a 0a 20 20 20 20 | 20 20 20 20 69 66 20 74 |***. | if t|
|00006210| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 74 4f 6c |here is |a cd tOl|
|00006220| 64 4f 62 6a 65 63 74 54 | 61 62 20 74 68 65 6e 20 |dObjectT|ab then |
|00006230| 52 45 56 44 65 6c 65 74 | 65 50 72 6f 70 65 72 74 |REVDelet|ePropert|
|00006240| 79 50 61 6c 65 74 74 65 | 43 61 72 64 20 74 4f 6c |yPalette|Card tOl|
|00006250| 64 4f 62 6a 65 63 74 54 | 61 62 2c 20 74 68 65 20 |dObjectT|ab, the |
|00006260| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00006270| 69 73 20 73 74 61 63 6b | 0a 20 20 20 20 20 20 20 |is stack|. |
|00006280| 20 2d 2d 20 63 68 65 63 | 6b 20 74 68 61 74 20 74 | -- chec|k that t|
|00006290| 68 69 73 20 70 61 6c 65 | 74 74 65 20 69 73 20 74 |his pale|tte is t|
|000062a0| 68 65 20 6f 6e 65 20 74 | 68 61 74 20 73 68 6f 75 |he one t|hat shou|
|000062b0| 6c 64 20 63 6f 6e 74 61 | 69 6e 20 6f 62 6a 65 63 |ld conta|in objec|
|000062c0| 74 20 74 61 62 73 20 61 | 6e 64 20 74 68 61 74 20 |t tabs a|nd that |
|000062d0| 74 68 65 20 6f 62 6a 65 | 63 74 20 74 61 62 20 64 |the obje|ct tab d|
|000062e0| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 20 65 6c 73 |oesn't e|xist els|
|000062f0| 65 77 68 65 72 65 0a 20 | 20 20 20 20 20 20 20 69 |ewhere. | i|
|00006300| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00006310| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00006320| 73 20 67 52 45 56 4f 62 | 6a 65 63 74 50 61 6c 65 |s gREVOb|jectPale|
|00006330| 74 74 65 20 61 6e 64 20 | 74 4f 62 6a 65 63 74 20 |tte and |tObject |
|00006340| 69 73 20 6e 6f 74 20 69 | 6e 20 67 52 45 56 4f 70 |is not i|n gREVOp|
|00006350| 65 6e 54 61 62 73 20 74 | 68 65 6e 0a 20 20 20 20 |enTabs t|hen. |
|00006360| 20 20 20 20 20 20 69 66 | 20 74 4f 6c 64 4f 62 6a | if| tOldObj|
|00006370| 65 63 74 54 61 62 20 69 | 73 20 69 6e 20 74 43 75 |ectTab i|s in tCu|
|00006380| 72 72 65 6e 74 54 61 62 | 73 20 74 68 65 6e 20 72 |rrentTab|s then r|
|00006390| 65 70 6c 61 63 65 20 74 | 4f 6c 64 4f 62 6a 65 63 |eplace t|OldObjec|
|000063a0| 74 54 61 62 20 77 69 74 | 68 20 74 4f 62 6a 65 63 |tTab wit|h tObjec|
|000063b0| 74 20 69 6e 20 74 43 75 | 72 72 65 6e 74 54 61 62 |t in tCu|rrentTab|
|000063c0| 73 0a 20 20 20 20 20 20 | 20 20 20 20 65 6c 73 65 |s. | else|
|000063d0| 20 69 66 20 74 43 75 72 | 72 65 6e 74 54 61 62 73 | if tCur|rentTabs|
|000063e0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|000063f0| 75 74 20 74 4f 62 6a 65 | 63 74 20 69 6e 74 6f 20 |ut tObje|ct into |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.